SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Avoid deeply nested control flow statements.
Open

      switch (stage(state)) {
      case 0:
        change(state, to_normal, context(rx_substitution_ref, 1));
        stream.match(rx_substitution_text);
        token = 'variable-2';
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/rst/rst.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

      if (state.localMode) state.localState = CodeMirror.startState(state.localMode);
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/markdown/markdown.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                        while ((letter = stream.eat(/[^\s\(\[\;\)\]]/)) != null) {
                            keyWord += letter;
                        }
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

      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(cur === ',') return null;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/asterisk/asterisk.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if (stream.match(/^#b/i)) {
                                numTest = isBinaryNumber;
                            } else if (stream.match(/^#o/i)) {
                                numTest = isOctalNumber;
                            } else if (stream.match(/^#x/i)) {
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

                            if (numTest != null) {
                                if (hasRadix && !hasExactness) {
                                    // consume optional exactness after radix
                                    stream.match(/^#[ei]/i);
                                }
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 == ")" || ch == "]") {
                        returnType = BRACKET;
                        if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : "[")) {
                            popStack(state);

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

                        if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word

                            pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);
                        } else { // non-indent word
                            // we continue eating the spaces
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

                        if(typeof state.sExprComment == "number") state.sExprComment++;
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 (
      // if setext set, indicates line after ---/===
      state.setext || (
        // line before ---/===
        (!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/markdown/markdown.js - About 45 mins to fix

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("=")
Severity
Category
Status
Source
Language