jbox-web/redmine_bootstrap_kit

View on GitHub

Showing 361 of 361 total issues

Avoid too many return statements within this function.
Open

      return ret("variable", "variable");
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

            if (stream.match(/^\s*(\||\>)\s*/)) { state.literal = 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

            if (stream.eat('"')) return chain(readQuoted('"', "atom", 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

              return ret("keyword", "important");
        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 '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 null;
            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 "string";
              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 null;
                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 state.tokenize(stream, state);
                  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/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/ruby/ruby.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return null;
                        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 'variable';
                          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 "number";
                            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 null;
                              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 null;
                                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 '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

                                            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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language