SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

      token: function(stream, state) {
        if (stream.sol()) {
          if (state.context && (state.context.align == null)) {
            state.context.align = false;
          }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/cypher/cypher.js - About 1 hr to fix

Function tokenLexer has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenLexer(stream, state) {
    var style = state.tokenize(stream, state);
    var current = stream.current();

    // Handle scope changes.

Function _createHeader has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createHeader ( settings ) {
        let O = this;
        _log( 'LANDINGPAGE / _create header' );

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

Function validate has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        validate() {
            let O = this;
            _log( 'PANEL  / _validateForm' );
           
            let validationErrors = [];
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.editable.mt.InputForm.js - About 1 hr to fix

Function DateArray has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var DateArray = (function(){
        var extras = {
            get: function(i){
                return this.slice(i)[0];
            },
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

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

    async _create() {
        let O = this;
        _log('TABLE / _create', 'primary');

        // current state of view
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.js - About 1 hr to fix

Function initContainer has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.initContainer = function () {
        this.$container = $([
            '<div class="bootstrap-table">',
            '<div class="fixed-table-toolbar"></div>',
            this.options.paginationVAlign === 'top' || this.options.paginationVAlign === 'both' ?

Function datepickerPlugin has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var datepickerPlugin = function(option){
        var args = Array.apply(null, arguments);
        args.shift();
        var internal_return;
        this.each(function(){
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function d3_geo_clipAntimeridianLine has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_clipAntimeridianLine(listener) {
    var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;
    return {
      lineStart: function() {
        listener.lineStart();

Function Constructor has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var Constructor = function (options) {
        this.init('select2', options, Constructor.defaults);

        options.select2 = options.select2 || {};

Function prepareFunction has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        function prepareFunction(parameterArray, functionString, xUnit, yUnit,onlySecondaryModel) {
            
            var newString = functionString;
        
            // cut the left part of the formula

Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    drag: function( draggable, event ) {

        // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
        if ( draggable.options.refreshPositions ) {
            $.ui.ddmanager.prepareOffsets( draggable, event );

Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var effectDrop = $.effects.effect.drop = function( o, done ) {

    var el = $( this ),
        props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
        mode = $.effects.setMode( el, o.mode || "hide" ),

Function _possibleChars has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _possibleChars: function (format) {
        var iFormat,
            chars = "",
            literal = false,
            // Check whether a format character is doubled

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

  view.init = function (representation, value) {

    fskutil = new fskutil();

    _rep = representation;

Function debounced has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function debounced() {
        args = arguments;
        stamp = now();
        thisArg = this;
        trailingCall = trailing && (timeoutId || !leading);

Function moveMonth has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        moveMonth: function(date, dir){
            if (!isValidDate(date))
                return this.o.defaultViewDate;
            if (!dir)
                return date;

Function DateArray has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var DateArray = (function(){
        var extras = {
            get: function(i){
                return this.slice(i)[0];
            },

Function datepickerPlugin has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var datepickerPlugin = function(option){
        var args = Array.apply(null, arguments);
        args.shift();
        var internal_return;
        this.each(function(){

Function selectRow has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                    selectRow       : ( O, rowIndex, rowData ) => {
                            if (window.selectedModels.length >= _representation.maxSelectionNumber) {
                                $(this).prop("checked", false);
                                return;
                            }
Severity
Category
Status
Source
Language