phodal/congee

View on GitHub

Showing 200 of 421 total issues

Function createLocalOrUTC has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    function createLocalOrUTC (input, format, locale, strict, isUTC) {
Severity: Minor
Found in ckeditor/plugins/autosave/js/moment.js - About 35 mins to fix

    Function walk has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                function walk( object, filter, indent, currentIndent, seen ) {
    Severity: Minor
    Found in scripts/libs/rv.js - About 35 mins to fix

      Function dayOfYearFromWeeks has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) {
      Severity: Minor
      Found in ckeditor/plugins/autosave/js/moment.js - About 35 mins to fix

        Function addCells has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                function addCells (row, tidx, tend, textLines, change) {
        Severity: Minor
        Found in ckeditor/plugins/autosave/js/diffview.js - About 35 mins to fix

          Function iterate has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                      function iterate( el, xStart, yStart, step, condition ) {
          Severity: Minor
          Found in ckeditor/plugins/lineutils/plugin.js - About 35 mins to fix

            Function writeFile has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    writeFile: function (pluginName, moduleName, req, write, config) {
            Severity: Minor
            Found in scripts/libs/text.js - About 35 mins to fix

              Function substituteTimeAgo has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
              Severity: Minor
              Found in ckeditor/plugins/autosave/js/moment.js - About 35 mins to fix

                Function list has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    function list (format, index, field, count, setter) {
                Severity: Minor
                Found in ckeditor/plugins/autosave/js/moment.js - About 35 mins to fix

                  Function Widget has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      function Widget( widgetsRepo, id, element, widgetDef, startupData ) {
                  Severity: Minor
                  Found in ckeditor/plugins/widget/plugin.js - About 35 mins to fix

                    Function addCellsInline has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                            function addCellsInline (row, tidx, tidx2, textLines, change) {
                    Severity: Minor
                    Found in ckeditor/plugins/autosave/js/diffview.js - About 35 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return {
                                      r: parseIntFromHex(match[1] + '' + match[1]),
                                      g: parseIntFromHex(match[2] + '' + match[2]),
                                      b: parseIntFromHex(match[3] + '' + match[3]),
                                      format: named ? "name" : "hex"
                      Severity: Major
                      Found in scripts/spectrum/spectrum.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return this.renderer.listitem(body);
                        Severity: Major
                        Found in ckeditor/plugins/markdown/js/marked.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return { h: match[1], s: match[2], l: match[3], a: match[4] };
                          Severity: Major
                          Found in scripts/spectrum/spectrum.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return { h: match[1], s: match[2], v: match[3] };
                            Severity: Major
                            Found in scripts/spectrum/spectrum.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return Parser.parse(Lexer.lex(src, opt), opt);
                              Severity: Major
                              Found in ckeditor/plugins/markdown/js/marked.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return {
                                                a: convertHexToDecimal(match[1]),
                                                r: parseIntFromHex(match[2]),
                                                g: parseIntFromHex(match[3]),
                                                b: parseIntFromHex(match[4]),
                                Severity: Major
                                Found in scripts/spectrum/spectrum.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return false;
                                  Severity: Major
                                  Found in scripts/spectrum/spectrum.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                            return defined[id];
                                    Severity: Major
                                    Found in scripts/libs/require.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return this.renderer.listitem(body);
                                      Severity: Major
                                      Found in ckeditor/plugins/markdown/js/marked.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return keys.length ? '{' + join( keys.map( function( key ) {
                                                            return ( legalKey( key ) ? key : JSON.stringify( key ) ) + ':' + walk( object[ key ], filter, indent, nextIndent, seen.slice() );
                                                        } ) ) + '}' : '{}';
                                        Severity: Major
                                        Found in scripts/libs/rv.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language