SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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);
                                                 }

Avoid deeply nested control flow statements.
Open

        if (it.opts.verbose) {
          out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
        }

Avoid deeply nested control flow statements.
Open

          if (it.util.varOccurences($code, $nextData) < 2) {
            out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
          } else {
            out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
          }

Avoid deeply nested control flow statements.
Open

          while ($i < l2) {
            $pProperty = arr2[$i += 1];
            out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';
          }

Avoid deeply nested control flow statements.
Open

          if ($ownProperties) {
            out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
          } else {
            out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
          }

Avoid deeply nested control flow statements.
Open

          if (it.opts.messages !== false) {
            out += ' , message: \'can\\\'t resolve reference ' + (it.util.escapeQuotes($schema)) + '\' ';
          }

Avoid deeply nested control flow statements.
Open

          if ($hasDefault) {
            out += ' ' + ($code) + ' ';
          } else {
            if ($requiredHash && $requiredHash[$propertyKey]) {
              out += ' if ( ' + ($useData) + ' === undefined ';

Avoid deeply nested control flow statements.
Open

          while (i3 < l3) {
            $propertyKey = arr3[i3 += 1];
            var $prop = it.util.getProperty($propertyKey),
              $missingProperty = it.util.escapeQuotes($propertyKey),
              $useData = $data + $prop;

Avoid deeply nested control flow statements.
Open

          if (it.opts.verbose) {
            out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
          }

Avoid deeply nested control flow statements.
Open

          if (res) {
            schema = res.schema;
            root = res.root;
            baseId = res.baseId;
          }
Severity
Category
Status
Source
Language