SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Avoid deeply nested control flow statements.
Open

            for (var i = points.length; --i >= 0; ) listener.point((point = points[i])[0], point[1]);

Avoid deeply nested control flow statements.
Open

            for (j = i + 1; j < n; ++j) q[j].i--;

Avoid deeply nested control flow statements.
Open

            if (d3_layout_packIntersects(j, c)) {
              isect = 1;
              break;
            }

Avoid deeply nested control flow statements.
Open

                             if(indep["name"] == parameterPrim)
                             {
                                 indexToDelete = index;
                                 break;
                             }

Avoid deeply nested control flow statements.
Open

          while (++i < n) if (!value.contains(name[i])) return false;

Avoid deeply nested control flow statements.
Open

            for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {
              if (d3_layout_packIntersects(k, c)) {
                break;
              }
            }

Avoid deeply nested control flow statements.
Open

            if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b);

Avoid deeply nested control flow statements.
Open

            if (D.valueOf() === 0) {
            
                // If D = D0 = 0, there is one distinct real root, -b / 3a.
                if (D0.valueOf() === 0) {
                    var root1 = b.multiply(-1).divide(a.multiply(3));

Avoid deeply nested control flow statements.
Open

            for (j = i + 1; j < n; ++j) q[j].i -= 2;

Avoid deeply nested control flow statements.
Open

            for (var i = 0; i < points.length; i++) listener.point((point = points[i])[0], point[1]);

Avoid deeply nested control flow statements.
Open

          while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false;

Avoid deeply nested control flow statements.
Open

              if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;

Avoid deeply nested control flow statements.
Open

            if (subnode = subnodes[k]) d3_transitionNode(subnode, k, id, transition);

Avoid deeply nested control flow statements.
Open

                if (discriminant.valueOf() === 0) {
                    return [b.multiply(-1).divide(a.multiply(2)).reduce()];

                    // If the discriminant is greater than 0, there are two real roots:
                    // (-b - √discriminant) / 2a

Avoid deeply nested control flow statements.
Open

            for (j = i + 1; j < n; ++j) q[j].i--;

Avoid deeply nested control flow statements.
Open

              if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;

Avoid deeply nested control flow statements.
Open

                        switch (col) {
                            case 0: calender += " ui-datepicker-group-first";
                                cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
                            case numMonths[1]-1: calender += " ui-datepicker-group-last";
                                cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;

Avoid deeply nested control flow statements.
Open

                            if (lookAhead("'")) {
                                output += "'";
                            } else {
                                literal = true;
                            }

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

function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {
Severity: Minor
Found in de.bund.bfr.knime.fsklab.deprecatednodes/js-lib/codemirror/codemirror.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

            if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)) }
Severity: Major
Found in de.bund.bfr.knime.fsklab.deprecatednodes/js-lib/codemirror/codemirror.js - About 45 mins to fix
Severity
Category
Status
Source
Language