SiLeBAT/FSK-Lab

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

Summary

Maintainability
A
4 hrs
Test Coverage

File livescript.js has 267 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE

/**
 * Link to the project's GitHub page:

Function tokenBase has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var tokenBase = function(stream, state) {
      var next_rule = state.next || "start";
      if (next_rule) {
        state.next = state.next;
        var nr = Rules[next_rule];

Avoid too many return statements within this function.
Open

      return 'error';

There are no issues that match your filters.

Category
Status