jbox-web/redmine_bootstrap_kit

View on GitHub

Showing 278 of 361 total issues

Avoid too many return statements within this function.
Open

        if (state.inlinePairs == 0 && stream.match(/^\s*-?[0-9\.\,]+\s?$/)) { return 'number'; }
Severity: Major
Found in assets/javascripts/codemirror/mode/yaml/yaml.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          if (state.pair && stream.match(/^:\s*/)) { state.pairStart = true; return 'meta'; }
    Severity: Major
    Found in assets/javascripts/codemirror/mode/yaml/yaml.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

                    return CodeMirror.Pass;
          Severity: Major
          Found in assets/javascripts/codemirror/addon/edit/closebrackets.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

                    return tokenCComment(stream, state);
              Severity: Major
              Found in assets/javascripts/codemirror/mode/nginx/nginx.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return chain(readQuoted(delim, style, embed, true), stream, state);
                Severity: Major
                Found in assets/javascripts/codemirror/mode/ruby/ruby.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      else if ((ch == "~" || ch == "|") && stream.eat("=")) return ret(null, "compare");
                  Severity: Major
                  Found in assets/javascripts/codemirror/mode/nginx/nginx.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

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

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

                                    return tokenSGMLComment(stream, state);
                              Severity: Major
                              Found in assets/javascripts/codemirror/mode/nginx/nginx.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

                                            if (stream.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i)) { return 'variable-2'; }
                                    Severity: Major
                                    Found in assets/javascripts/codemirror/mode/yaml/yaml.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              if (state.inlinePairs > 0 && stream.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/)) { return 'number'; }
                                      Severity: Major
                                      Found in assets/javascripts/codemirror/mode/yaml/yaml.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return 'operator';
                                        Severity: Major
                                        Found in assets/javascripts/codemirror/mode/python/python.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language