crowbar/crowbar-core

View on GitHub

Showing 6,062 of 6,062 total issues

Avoid too many return statements within this function.
Open

      return ret("operator", null, stream.current());
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "[") return cont(pushlex("]"), commasep(expression, "]"), poplex, maybeoperator);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == ";") return cont();
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "for") return cont(pushlex("form"), expect("("), pushlex(")"), forspec1, expect(")"),
                                      poplex, statement, poplex);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"),
                                        statement, poplex, popcontext);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "{") return cont(pushlex("}"), commasep(objprop, "}"), poplex, maybeoperator);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "case") return cont(expression, expect(":"));
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return chain(stream, state, jsTokenComment);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    return pass(pushlex("stat"), expression, expect(";"), poplex);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        if (mod && code == 90) {undo(); return e.stop();} // ctrl-z
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return ret("operator", null, stream.current());
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "operator") return cont(expression);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "[") return cont(pushlex("]"), expression, expect("]"), poplex, maybeoperator);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        if (mod && ((e.e.shiftKey && code == 90) || code == 89)) {redo(); return e.stop();} // ctrl-shift-z, ctrl-y
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "default") return cont(expect(":"));
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/javascript.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      if (ld && +new Date - ld < 400) return selectLine(start.line);
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

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

Avoid too many return statements within this function.
Open

      return {start: start, end: end};
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/codemirror/codemirror.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return this.constructor( context ).find( selector );
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/jquery/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return results;
Severity: Major
Found in crowbar_framework/vendor/assets/javascripts/jquery/jquery.js - About 30 mins to fix
Severity
Category
Status
Source
Language