jbox-web/redmine_bootstrap_kit

View on GitHub

Showing 278 of 361 total issues

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

    easeInOutCirc: function (x, t, b, c, d) {
Severity: Minor
Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

        easeOutBounce: function (x, t, b, c, d) {
    Severity: Minor
    Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

          easeInOutSine: function (x, t, b, c, d) {
      Severity: Minor
      Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

            easeInQuart: function (x, t, b, c, d) {
        Severity: Minor
        Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

              easeInCirc: function (x, t, b, c, d) {
          Severity: Minor
          Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

                easeOutCirc: function (x, t, b, c, d) {
            Severity: Minor
            Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

                  easeInOutElastic: function (x, t, b, c, d) {
              Severity: Minor
              Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

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

                    easeInBounce: function (x, t, b, c, d) {
                Severity: Minor
                Found in assets/javascripts/jquery_file_tree/jquery_easing.js - About 35 mins to fix

                  Function colorize has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                  Open

                  CodeMirror.colorize = (function() {
                  
                    var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/;
                  
                    function textContent(node, out) {
                  Severity: Minor
                  Found in assets/javascripts/codemirror/addon/runmode/colorize.js - About 35 mins to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Avoid too many return statements within this function.
                  Open

                        return false;
                  Severity: Major
                  Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return;
                    Severity: Major
                    Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              if (done) return done;
                      Severity: Major
                      Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                      return;
                        Severity: Major
                        Found in assets/javascripts/codemirror/keymap/vim.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return;
                          Severity: Major
                          Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  else return "L";
                            Severity: Major
                            Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  if (!start) {if (e_target(e) == display.scroller) e_preventDefault(e); return;}
                              Severity: Major
                              Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return {anchor: adjustPos(doc.sel.anchor), head: adjustPos(doc.sel.head)};
                                Severity: Major
                                Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return clipToLen(pos, change.text[inside].length + (inside ? 0 : change.from.ch));
                                  Severity: Major
                                  Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            if (!part) return null;
                                    Severity: Major
                                    Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return lookup(fallthrough);
                                      Severity: Major
                                      Found in assets/javascripts/codemirror/codemirror.js - About 30 mins to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language