SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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,

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

    _refreshValue: function() {
        var value = this.options.value,
            percentage = this._percentage();

        this.valueDiv

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

    transition: function( other, distance ) {
        var end = color( other ),
            spaceName = end._space(),
            space = spaces[ spaceName ],
            startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

    _initialActive: function() {
        var active = this.options.active,
            collapsible = this.options.collapsible,
            locationHash = location.hash.substring( 1 );

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

    _refresh: function() {
        this._setupDisabled( this.options.disabled );
        this._setupEvents( this.options.event );
        this._setupHeightStyle( this.options.heightStyle );
Severity
Category
Status
Source
Language