SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Avoid deeply nested control flow statements.
Open

                        if ( param.unit && param.unit != '[]' && param.unit != 'Others' ) {
                            $input.attr( 'data-touchspin-postfix', param.unit );
                        }
Severity: Major
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                else if ( field.param.dataType.toLowerCase() === 'file' ) {

                    // TBD

                }
Severity: Major
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 45 mins to fix

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) }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( field.param.dataType.toLowerCase === 'integer' && fieldValue.indexOf('.') > 0 ){
                        return {
                                input   : field.input,
                                msg     : 'Invalid integer value'
                            };
Severity: Major
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

      if (cutTop && cutBot) {
        display.view = display.view.slice(0, cutTop.index)
          .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))
          .concat(display.view.slice(cutBot.index));
        display.viewTo += lendiff;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') {
                        continue;
                    } else if (i > 0) {
                        name.splice(i - 1, 2);
                        i -= 2;
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if ((value + '').toLowerCase().indexOf(s) !== -1) {
                                return true;
                            }

Avoid deeply nested control flow statements.
Open

                    for (j = baseParts.length; j > 0; j -= 1) {
                        mapValue = map[baseParts.slice(0, j).join('/')];

                        //baseName segment has  config, find if it has one for
                        //this name.
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                      } else if (e.keyCode === 37 || e.keyCode === 39){
                          newViewDate = this.moveAvailableDate(focusDate, dir, 'moveDay');
                      } else if (!this.weekOfDateIsDisabled(focusDate)){
                          newViewDate = this.moveAvailableDate(focusDate, dir, 'moveWeek');
                      }
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

            if (e.keyCode === 38 || e.keyCode === 40) {
              dir = dir * 4;
            }
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if ((value + '').toLowerCase() === s) {
                                return true;
                            }

Avoid deeply nested control flow statements.
Open

                          if (newViewDate)
                              this._trigger('changeMonth', this.viewDate);
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                if (month === 0) {
                                    month = 11;
                                    year -= 1;
                                } else {
                                    month -= 1;

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

  function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {

Avoid deeply nested control flow statements.
Open

                    for (j = baseParts.length; j > 0; j -= 1) {
                        mapValue = map[baseParts.slice(0, j).join('/')];

                        //baseName segment has  config, find if it has one for
                        //this name.
Severity: Major
Found in de.bund.bfr.knime.pmm.nodes/js-lib/select2/4_0_3/debug/js/select2.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                if (this.o.minViewMode === 1) {
                                    this._setDate(UTCDate(year, month, day,0,0,0,0));
                                }

Avoid deeply nested control flow statements.
Open

                            } else if (target.is('.new')) {
                                if (month == 11) {
                                    month = 0;
                                    year += 1;
                                } else {

Avoid deeply nested control flow statements.
Open

                                if (this.o.minViewMode === 2) {
                                    this._setDate(UTCDate(year, month, day,0,0,0,0));
                                }

Avoid deeply nested control flow statements.
Open

                            if(item.children) {
                                item.children = this.makeArray(item.children);   
                            }

Avoid deeply nested control flow statements.
Open

                    if (part === ".") {
                        name.splice(i, 1);
                        i -= 1;
                    } else if (part === "..") {
                        if (i === 1 && (name[2] === '..' || name[0] === '..')) {
Severity: Major
Found in de.bund.bfr.knime.pmm.nodes/js-lib/select2/4_0_3/debug/js/select2.js - About 45 mins to fix
Severity
Category
Status
Source
Language