SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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

      validateConnection: function (cellViewS, magnetS, cellViewT, magnetT, end, linkView) {

Avoid deeply nested control flow statements.
Open

          if (m.css) { css = (css ? css + ";" : "") + m.css }

Avoid deeply nested control flow statements.
Open

        } else if (sp.from > pos && nextChange > sp.from) {
          nextChange = sp.from
        }

Avoid deeply nested control flow statements.
Open

          if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to) }

Avoid deeply nested control flow statements.
Open

            for (++j$2; j$2 < i$7 && countsAsNum.test(types[j$2]); ++j$2) {}

Avoid deeply nested control flow statements.
Open

          if (sp.to != null && sp.to != pos && nextChange > sp.to) {
            nextChange = sp.to
            spanEndStyle = ""
          }

Avoid deeply nested control flow statements.
Open

          if (m.startStyle && sp.from == pos) { spanStartStyle += " " + m.startStyle }

Avoid deeply nested control flow statements.
Open

          if (sameLine) { (first || (first = [])).push(span$1) }

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

function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {

Avoid deeply nested control flow statements.
Open

    if (cut$1) {
      display.view = display.view.slice(0, cut$1.index)
      display.viewTo = cut$1.lineN
    } else {
      resetView(cm)

Avoid deeply nested control flow statements.
Open

      if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\d+)$/)) {
        if (indexOf(newGroup, Number(m[1])) > -1) {
          lst(newChanges)[prop] = change[prop]
          delete change[prop]
        }

Avoid deeply nested control flow statements.
Open

        if (dir < 0 ? m.inclusiveRight : m.inclusiveLeft)
          { near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null) }

Avoid deeply nested control flow statements.
Open

                                             if(anotherArrayOfObjects.length > 0 ){
                                                 val[valx]= anotherArrayOfObjects
                                             }

Avoid deeply nested control flow statements.
Open

      if (iteratorFn !== node.entries) {
        var iterator = iteratorFn.call(node);
        var step = void 0;
        while (!(step = iterator.next()).done) {
          if (isValidElement(step.value)) {

Avoid deeply nested control flow statements.
Open

      if (ch == ";") return "semi";

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

            validateConnection: function(cellViewS, magnetS, cellViewT, magnetT, end, linkView) {

Avoid deeply nested control flow statements.
Open

        if (m.explicitlyCleared) {
          if (!line.markedSpans) { break }
          else {--i; continue}
        }

Avoid deeply nested control flow statements.
Open

        if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))
          { return skipAtomicInner(doc, near, pos, dir, mayClear) }

Avoid deeply nested control flow statements.
Open

                        if (q < t) {
                            break;
                        }

Avoid deeply nested control flow statements.
Open

                                                 if(typeof valxx === "object" && valxx.value){
                                                     anotherArrayOfObjects.push(valxx.value);
                                                 }
Severity
Category
Status
Source
Language