SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Avoid deeply nested control flow statements.
Open

      if(isEQName && ch === '\"') while(stream.next() !== '"'){}
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/xquery/xquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

            if (m[1] != state.type) return "error";

Avoid deeply nested control flow statements.
Open

                            if (stream.eat(/[ei]/i)) {
                                hasExactness = true;
                            } else {
                                stream.backUp(1);       // must be radix specifier
                            }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/scheme/scheme.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

        } else if (ch = stream.eat(/\{|%/)) {
          //Cache close tag
          state.intag = ch;
          if(ch == "{") {
            state.intag = "}";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jinja2/jinja2.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

          if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break }

Avoid deeply nested control flow statements.
Open

          if(!stream.skipTo("#}")) {
            stream.skipToEnd();
          } else {
            stream.eatWhile(/\#|}/);
            state.incomment = false;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jinja2/jinja2.js - About 45 mins to fix

Function HaxeLexical has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

  function HaxeLexical(indented, column, type, align, prev, info) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/haxe/haxe.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

      while (stream.match(/^\\[CM]-/)) {}
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/ruby/ruby.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

          if (ch == "!" || ch == "=") stream.eat("=")

Avoid deeply nested control flow statements.
Open

        if (keywords.propertyIsEnumerable(word)) {
          var kw = keywords[word]
          return ret(kw.type, kw.style, word)
        }

Avoid deeply nested control flow statements.
Open

          if (pos == 0) return

Function JSLexical has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

  function JSLexical(indented, column, type, align, prev, info) {

Avoid deeply nested control flow statements.
Open

        if (word == "async" && stream.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/, false))
          return ret("async", "keyword", word)

Avoid deeply nested control flow statements.
Open

      if (stream.eat("\\")) stream.eatWhile(/\w/);
      else stream.next();
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/ruby/ruby.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

          if(stream.eat(" ") || stream.sol()) {
            if(stream.match(keywords)) {
              return "keyword";
            }
            if(stream.match(atom)) {
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jinja2/jinja2.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

      } else if (identifier(stream)) {
        if (stream.peek() === ':') {
          return 'variable';
        }
        return 'variable-2';
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pegjs/pegjs.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

    } else if (ch == ":") {
      if (stream.eat("'")) return chain(readQuoted("'", "atom", false), stream, state);
      if (stream.eat('"')) return chain(readQuoted('"', "atom", true), stream, state);

      // :> :>> :< :<< are valid symbols
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/ruby/ruby.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

            if (state.inString) {
                state.lastTokenWasBuiltin = false;
                return "string";
            }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/velocity/velocity.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

        } else if (/[<>*+\-]/.test(ch)) {
          stream.eat(ch)
          if (ch == ">") stream.eat(ch)
        }

Avoid deeply nested control flow statements.
Open

            if (!(stream.match(/^[^\]\\]+/) || stream.match(/^\\./))) {
              state.inCharacterClass = false;
            }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pegjs/pegjs.js - About 45 mins to fix
Severity
Category
Status
Source
Language