SiLeBAT/FSK-Lab

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function xmlToken has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function xmlToken(stream, state, cx) {
      if (cx.depth == 2) { // Inside a JS /* */ comment
        if (stream.match(/^.*?\*\//)) cx.depth = 1
        else stream.skipToEnd()
        return "comment"
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jsx/jsx.js - About 1 hr to fix

Avoid too many return statements within this function.
Open

          return token(stream, state)
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jsx/jsx.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return style
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jsx/jsx.js - About 30 mins to fix

There are no issues that match your filters.

Category
Status