SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function update has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  NativeScrollbars.prototype.update = function (measure) {
    var needsH = measure.scrollWidth > measure.clientWidth + 1;
    var needsV = measure.scrollHeight > measure.clientHeight + 1;
    var sWidth = measure.nativeBarWidth;

Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function skipAtomicInner has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {
    var line = getLine(doc, pos.line);
    if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {
      var sp = line.markedSpans[i], m = sp.marker;

Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function _createPanels has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createPanels() {
        let port = window.port || -1;
        let schema = schemas.riskModel;

        return {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.schemas.js - About 1 hr to fix

Function _createParamMetadataList has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createParamMetadataList( param ) {
        let O = this;
        _log( 'PANEL SIM / _createParamMetadataList' );

        let listData = {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 1 hr to fix

Function _createPanels has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createPanels() {
        let port = window.port || -1;
        let schema = schemas.qraModel;

        return {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.schemas.js - About 1 hr to fix

Function _create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _create () {
        let O = this;
        _log( 'MODAL / _create' );

        O._id = O.opts.id || 'modal'+ $.now();
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.modal.js - About 1 hr to fix

Function _createRow has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createRow(value = "") {
        let O = this;
        let input = document.createElement("input");
        input.type = O.type;
        input.className = "form-control";
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.editable.mt.SimpleTable.js - About 1 hr to fix

Function query has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tokenizer.prototype.query = function (decorated, params, callback) {
    var self = this;

    function createAndSelect (data) {
      // Normalize the data object so we can use it for checks
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function convertToOptions has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ArrayAdapter.prototype.convertToOptions = function (data) {
    var self = this;

    var $existing = this.$element.find('option');
    var existingIds = $existing.map(function () {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function calcGridLabels has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        calcGridLabels: function () {
            var i, label, start = [], finish = [],
                num = this.coords.big_num;

            for (i = 0; i < num; i++) {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/ion.rangeSlider.js - About 1 hr to fix

Function convertToOptions has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ArrayAdapter.prototype.convertToOptions = function (data) {
    var self = this;

    var $existing = this.$element.find('option');
    var existingIds = $existing.map(function () {

Function option has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  SelectAdapter.prototype.option = function (data) {
    var option;

    if (data.children) {
      option = document.createElement('optgroup');

Function d3_scale_quantize has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_scale_quantize(x0, x1, range) {
    var kx, i;
    function scale(x) {
      return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))];
    }

Function query has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tokenizer.prototype.query = function (decorated, params, callback) {
    var self = this;

    function createAndSelect (data) {
      // Normalize the data object so we can use it for checks

Function handleEmpty has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        handleEmpty: function (isEmpty) {
            //do not handle empty if we do not display anything
            if(this.options.display === false) {
                return;
            }

Function gobbleStringLiteral has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                gobbleStringLiteral = function() {
                    var str = '', quote = exprI(index++), closed = false, ch;

                    while(index < length) {
                        ch = exprI(index++);
Severity: Minor
Found in de.bund.bfr.knime.pmm.nodes/js-lib/jsep/0_3_1/debug/js/jsep.js - About 1 hr to fix

Function gobbleIdentifier has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                gobbleIdentifier = function() {
                    var ch = exprICode(index), start = index, identifier;

                    if(isIdentifierStart(ch)) {
                        index++;
Severity: Minor
Found in de.bund.bfr.knime.pmm.nodes/js-lib/jsep/0_3_1/debug/js/jsep.js - About 1 hr to fix

Function _drop has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _drop: function( event, custom ) {

        var draggable = custom || $.ui.ddmanager.current,
            childrenIntersection = false;

Function complete has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        complete: function() {
            if ( el.to.opacity === 0 ) {
                el.css( "opacity", el.from.opacity );
            }
            if ( mode === "hide" ) {

Function _create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _create: function() {
        this.originalCss = {
            display: this.element[ 0 ].style.display,
            width: this.element[ 0 ].style.width,
            minHeight: this.element[ 0 ].style.minHeight,
Severity
Category
Status
Source
Language