SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

    var loop = function ( o ) {
      context.baseTokens = st;
      var overlay = cm.state.overlays[o], i = 1, at = 0;
      context.state = true;
      runMode(cm, line.text, overlay.mode, context, function (end, style) {
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 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _createPanels(port) {

            let schema = fskui.genericModel;

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

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

        _create(name, mandatory, type, helperText, value, vocabulary, port) {

            // Create input
            this.input.className = type === "checkbox" ? "form-check-input" : "form-control";
            this.input.type = type;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/bfr/fskutil_1.0.0.js - About 1 hr to fix

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

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

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

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

      function _advanceInputGroup(parentelement) {
        parentelement.addClass('bootstrap-touchspin');

        var prev = originalinput.prev(),
          next = originalinput.next();
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-touchspin.js - About 1 hr to fix

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

  EventRelay.prototype.bind = function (decorated, container, $container) {
    var self = this;
    var relayEvents = [
      'open', 'opening',
      'close', 'closing',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

  StopPropagation.prototype.bind = function (decorated, container, $container) {
    decorated.call(this, container, $container);

    var stoppedEvents = [
    'blur',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

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

    data.selected = true;

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

  StopPropagation.prototype.bind = function (decorated, container, $container) {
    decorated.call(this, container, $container);

    var stoppedEvents = [
      'blur',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

        formatDate: function(date, format, language){
            if (!date)
                return '';
            if (typeof format === 'string')
                format = DPGlobal.parseFormat(format);
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

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

  InfiniteScroll.prototype.bind = function (decorated, container, $container) {
    var self = this;

    decorated.call(this, container, $container);

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

    _destroy: function() {

        this._mouseDestroy();

        var wrapper,

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

        function getGlobalxUnit(formulaPrim,paramsPrim,indepsPrim,depPrim,secondaryIndeps,secondaryIndepNames,tertiaryModel){
        
            if(!tertiaryModel.m2List){
                for(i in indepsPrim){
                

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

    function add_independent_parameter(indep) {
        var class_cell = '<td></td>';
        var name_cell = '<td>' + indep.name + '</td>';

        var indep_unit = indep.unit ? indep.unit : '';

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

    function add_dep_parameter(dep) {
        var class_cell = '<td></td>';
        var name_cell = '<td>' + dep.name + '</td>';

        var dep_unit = dep.unit ? dep.unit : '';

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

            set: function( elem, value ) {
                var parsed, curElem,
                    backgroundColor = "";

                if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {

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

  var loop = function ( o ) {
    context.baseTokens = st
    var overlay = cm.state.overlays[o], i = 1, at = 0
    context.state = true
    runMode(cm, line.text, overlay.mode, context, function (end, style) {

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

    _createPanels() {

      let schema = schemas.consumptionModel;

      return {

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

  function blankLine(state) {
    // Reset linkTitle state
    state.linkTitle = false;
    state.linkHref = false;
    state.linkText = false;

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

  var loop = function ( o ) {
    context.baseTokens = st
    var overlay = cm.state.overlays[o], i = 1, at = 0
    context.state = true
    runMode(cm, line.text, overlay.mode, context, function (end, style) {
Severity
Category
Status
Source
Language