SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Function tokenBase has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function tokenBase(stream, state) {
      var ch = stream.next();
      if (ch == '"' || ch == "'") {
        state.tokenize = tokenString(ch);
        return state.tokenize(stream, state);
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/asn.1/asn.1.js - About 1 hr to fix

Function extendTo has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function extendTo(pos) {
      if (cmp(lastPos, pos) == 0) { return }
      lastPos = pos;

      if (behavior.unit == "rectangle") {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function highlightLine has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function highlightLine(cm, line, context, forceToEnd) {
    // A styles array always starts with a number identifying the
    // mode/overlays that it is based on (for easy invalidation).
    var st = [cm.state.modeGen], lineClasses = {};
    // Compute the base array of styles
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function update has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  MultipleSelection.prototype.update = function (data) {
    this.clear();

    if (data.length === 0) {
      return;
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function constructor has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor(settings, $container, metadata, uploadDates, executionTimes) {
        let O = this;
        O._$container = $container;
        O._$wrapper = null;
        O.totalRows = 0;
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.js - About 1 hr to fix

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

        _create(name, mandatory, helperText, value) {
            let O = this;
            // formgroup
            let $formGroup = $( '<div class="form-group row"></div>' );

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

Function makeArray has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        makeArray: function(data) {
            var count, obj, result = [], item, iterateItem;
            if(!data || typeof data === 'string') {
                return null; 
            }

Function d3_rgb_parse has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_rgb_parse(format, rgb, hsl) {
    var r = 0, g = 0, b = 0, m1, m2, name;
    m1 = /([a-z]+)\((.*)\)/i.exec(format);
    if (m1) {
      m2 = m1[2].split(",");

Function deleteFunctionObject has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function deleteFunctionObject(internalId,dbuuid)
    {
        deleteMetaDataSection(internalId,dbuuid);
        removeModel(internalId,dbuuid);
        updateParameterSliders();

Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _slide: function( event, index, newVal ) {
        var otherVal,
            newValues,
            allowed;

Function highlightLine has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function highlightLine(cm, line, context, forceToEnd) {
  // A styles array always starts with a number identifying the
  // mode/overlays that it is based on (for easy invalidation).
  var st = [cm.state.modeGen], lineClasses = {}
  // Compute the base array of styles

Function _makeDraggable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

        function filteredUi( ui ) {

Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _eventHandler: function( event ) {
        var options = this.options,
            active = this.active,
            anchor = $( event.currentTarget ),
            tab = anchor.closest( "li" ),

Function extendTo has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function extendTo(pos) {
    if (cmp(lastPos, pos) == 0) { return }
    lastPos = pos

    if (behavior.unit == "rectangle") {

Function patchDisplay has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function patchDisplay(cm, updateNumbersFrom, dims) {
  var display = cm.display, lineNumbers = cm.options.lineNumbers
  var container = display.lineDiv, cur = container.firstChild

  function rm(node) {

Function extendTo has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function extendTo(pos) {
    if (cmp(lastPos, pos) == 0) { return }
    lastPos = pos

    if (behavior.unit == "rectangle") {

Function patchDisplay has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function patchDisplay(cm, updateNumbersFrom, dims) {
  var display = cm.display, lineNumbers = cm.options.lineNumbers
  var container = display.lineDiv, cur = container.firstChild

  function rm(node) {

Function highlightLine has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function highlightLine(cm, line, context, forceToEnd) {
  // A styles array always starts with a number identifying the
  // mode/overlays that it is based on (for easy invalidation).
  var st = [cm.state.modeGen], lineClasses = {}
  // Compute the base array of styles

Function ReactElement has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var ReactElement = function (type, key, ref, self, source, owner, props) {
  var element = {
    // This tag allows us to uniquely identify this as a React Element
    $$typeof: REACT_ELEMENT_TYPE,

Function createWrapper has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
      var isBindKey = bitmask & BIND_KEY_FLAG;
      if (!isBindKey && typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
Severity
Category
Status
Source
Language