SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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

    async _refresh(index, modelMetadata ) {
        let O = this;
        let rowData = O._tableData[index];
        rowData.modelMetadata = modelMetadata;
        let modelName = O._getData( modelMetadata, 'generalInformation', 'name' );
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.mt.js - About 1 hr to fix

Function _initSelect2 has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _initSelect2 ( container ) {
        let O = this;
        _log( 'UI / _initSelect2' );

        let $elems = $( container ).length > 0 ? $( container ).find( 'select[data-sel2]' ) : $( 'select[data-sel2]' );
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.ui.js - About 1 hr to fix

Function updateNavArrows has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        updateNavArrows: function(){
            if (!this._allow_update)
                return;

            var d = new Date(this.viewDate),
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function dateUpdated has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        dateUpdated: function(e){
            // `this.updating` is a workaround for preventing infinite recursion
            // between `changeDate` triggering and `setUTCDate` calling.  Until
            // there is a better mechanism.
            if (this.updating)
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function _createTableToolbar has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createTableToolbar() {
        let O = this;
        _log('TABLE / _createTableToolbar');

        if (O.opts.showToggle || O.opts.showColumns) {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.js - About 1 hr to fix

Function circle has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.geo.circle = function() {
    var origin = [ 0, 0 ], angle, precision = 6, interpolate;
    function circle() {
      var center = typeof origin === "function" ? origin.apply(this, arguments) : origin, rotate = d3_geo_rotation(-center[0] * d3_radians, -center[1] * d3_radians, 0).invert, ring = [];
      interpolate(null, null, 1, {

Function token has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function token() {
        if (I >= N) return EOF;
        if (eol) return eol = false, EOL;
        var j = I;
        if (text.charCodeAt(j) === 34) {

Function destroy has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Select2.prototype.destroy = function () {
    this.$container.remove();

    if (this.$element[0].detachEvent) {
      this.$element[0].detachEvent('onpropertychange', this._syncA);

Function stop has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    stop: function( event ) {
        var that = $(this).resizable( "instance" ),
            o = that.options,
            pr = that._proportionallyResizeElements,
            ista = pr.length && (/textarea/i).test(pr[0].nodeName),

Function brush has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function brush(g) {
      g.each(function() {
        var g = d3.select(this).style("pointer-events", "all").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)").on("mousedown.brush", brushstart).on("touchstart.brush", brushstart);
        var background = g.selectAll(".background").data([ 0 ]);
        background.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair");

Function to has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

spaces.hsla.to = function( rgba ) {
    if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
        return [ null, null, null, rgba[ 3 ] ];
    }
    var r = rgba[ 0 ] / 255,

Function _determineButtonType has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _determineButtonType: function() {
        var ancestor, labelSelector, checked;

        if ( this.element.is("[type=checkbox]") ) {
            this.type = "checkbox";

Function _createButtons has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createButtons: function() {
        var that = this,
            buttons = this.options.buttons;

        // if we already have a button pane, remove it

Function add_constant_parameter has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function add_constant_parameter(param) {
        var condition_attribute = ' data-status="1" ';
        var class_attribute = ' class="col-sm-1 item-first some-remove" ';

        var editable = ' class="textEdit editable editable-click" '; 

Function validateConnection has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      validateConnection: function (cellViewS, magnetS, cellViewT, magnetT, end, linkView) {
       
        var links = _graph.getLinks();
        for (var i = 0; i < links.length; i++)
        {  

Function init has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  view.init = function (representation, value) {

    _representation = representation;
    _value = value;

Function 26 has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{}],26:[function(require,module,exports){
'use strict';

//all requires must be explicit because browserify won't work with dynamic requires
module.exports = {

Function serialize$$1 has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    serialize: function serialize$$1(mailtoComponents, options) {
        var components = mailtoComponents;
        var to = toArray(mailtoComponents.to);
        if (to) {
            for (var x = 0, xl = to.length; x < xl; ++x) {

Function show has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tab.prototype.show = function () {
    var $this    = this.element
    var $ul      = $this.closest('ul:not(.dropdown-menu)')
    var selector = $this.data('target')

Function dateUpdated has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        dateUpdated: function(e){
            // `this.updating` is a workaround for preventing infinite recursion
            // between `changeDate` triggering and `setUTCDate` calling.  Until
            // there is a better mechanism.
            if (this.updating)
Severity
Category
Status
Source
Language