SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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

        _createPanels(port) {

            let schema = fskui.qraModel;

            return {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/bfr/fskutil_1.0.0.js - About 1 hr to fix

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

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

    if (data.children) {
      option = document.createElement('optgroup');
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function getRowByUniqueId has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.getRowByUniqueId = function (id) {
        var uniqueId = this.options.uniqueId,
            len = this.options.data.length,
            dataRow = null,
            i, row, rowUniqueId;

Function _processTranslations has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Defaults.prototype._processTranslations = function (languages, debug) {
    var translations = new Translation();

    for (var l = 0; l < languages.length; l++) {
      var languageData = new Translation();
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function select has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  SelectAdapter.prototype.select = function (data) {
    var self = this;

    data.selected = true;

Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function save has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        save: function(e, params) {
            //mark element with unsaved class if needed
            if(this.options.unsavedclass) {
                /*
                 Add unsaved css to element if:

Function apportion has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function apportion(node, previousSibling, ancestor) {
        if (previousSibling) {
          var vip = node, vop = node, vim = previousSibling, vom = node.parent.children[0], sip = vip._tree.mod, sop = vop._tree.mod, sim = vim._tree.mod, som = vom._tree.mod, shift;
          while (vim = d3_layout_treeRight(vim), vip = d3_layout_treeLeft(vip), vim && vip) {
            vom = d3_layout_treeLeft(vom);

Function position has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function position(row, u, rect, flush) {
      var i = -1, n = row.length, x = rect.x, y = rect.y, v = u ? round(row.area / u) : 0, o;
      if (u == rect.dx) {
        if (flush || v > rect.dy) v = rect.dy;
        while (++i < n) {

Function _syncSubtree has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Select2.prototype._syncSubtree = function (evt, mutations) {
    var changed = false;
    var self = this;

    // Ignore any mutation events raised for elements that aren't options or

Function d3_geo_centroidRingStart has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_centroidRingStart() {
    var λ00, φ00, x0, y0, z0;
    d3_geo_centroid.point = function(λ, φ) {
      λ00 = λ, φ00 = φ;
      d3_geo_centroid.point = nextPoint;

Function gobbleToken has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                gobbleToken = function() {
                    var ch, to_check, tc_len;
                    
                    gobbleSpaces();
                    ch = exprICode(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 gobbleExpression has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                gobbleExpression = function() {
                    var test = gobbleBinaryExpression(),
                        consequent, alternate;
                    gobbleSpaces();
                    if(exprICode(index) === QUMARK_CODE) {
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 linePoint has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function linePoint(x, y) {
        x = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, x));
        y = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, y));
        var v = visible(x, y);
        if (polygon) ring.push([ x, y ]);

Function d3_selection_on has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_selection_on(type, listener, capture) {
    var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener;
    if (i > 0) type = type.substring(0, i);
    var filter = d3_selection_onFilters.get(type);
    if (filter) type = filter, wrap = d3_selection_onFilter;

Function attr has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3_transitionPrototype.attr = function(nameNS, value) {
    if (arguments.length < 2) {
      for (value in nameNS) this.attr(value, nameNS[value]);
      return this;
    }

Function _destroy has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _destroy: function() {
        // Destroy (sub)menus
        this.element
            .removeAttr( "aria-activedescendant" )
            .find( ".ui-menu" ).addBack()

Function _mouseDrag has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _mouseDrag: function(event) {

        var data, props,
            smp = this.originalMousePosition,
            a = this.axis,

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

    _create: function() {
        var selectees,
            that = this;

        this.element.addClass("ui-selectable");

Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createWidget: function( options, element ) {
        element = $( element || this.defaultElement || this )[ 0 ];
        this.element = $( element );
        this.uuid = widget_uuid++;
        this.eventNamespace = "." + this.widgetName + this.uuid;

Function diagonal has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.svg.diagonal = function() {
    var source = d3_source, target = d3_target, projection = d3_svg_diagonalProjection;
    function diagonal(d, i) {
      var p0 = source.call(this, d, i), p3 = target.call(this, d, i), m = (p0.y + p3.y) / 2, p = [ p0, {
        x: p0.x,
Severity
Category
Status
Source
Language