SiLeBAT/FSK-Lab

View on GitHub
de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function token has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    token: function(stream, state) {
      var ch, funcName;
      if (stream.eatSpace()) {
        return null;
      }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 2 hrs to fix

Avoid too many return statements within this function.
Open

        return "comment";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "apl-arrow";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "operator apl-" + builtInOps[ch];
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return "keyword";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "niladic";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "number";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "function " + funcName;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return "function jot-dot";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/apl/apl.js - About 30 mins to fix

There are no issues that match your filters.

Category
Status