SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Consider simplifying this complex logical expression.
Open

                    if( ( 
                            (indep.min == undefined || indep.min == "" || indep.min == null) && 
                            (indep.max == undefined || indep.max == "" || indep.max == null) &&
                            (indep.value != undefined && indep.value !== "")
                        ) 

Consider simplifying this complex logical expression.
Open

                if( ( 
                        (indep.min == undefined || indep.min == "" || indep.min == null) && 
                        (indep.max == undefined || indep.max == "" || indep.max == null) &&
                        (indep.value != undefined && indep.value !== "")
                    ) 

Function chord has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.svg.chord = function() {
    var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
    function chord(d, i) {
      var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);
      return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";

Function _makeResizable has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _makeResizable: function() {
        var that = this,
            options = this.options,
            handles = options.resizable,
            // .ui-resizable has position: relative defined in the stylesheet

Function Display has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Display(place, doc, input) {
  var d = this
  this.input = input

  // Covers bottom-right square when both scrollbars are present.

Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.effects.animateClass = function( value, duration, easing, callback ) {
    var o = $.speed( duration, easing, callback );

    return this.queue( function() {
        var animated = $( this ),

Consider simplifying this complex logical expression.
Open

    } else if (
      // if setext set, indicates line after ---/===
      state.setext || (
        // line before ---/===
        (!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
Severity: Critical
Found in de.bund.bfr.knime.fsklab.deprecatednodes/js-lib/codemirror/markdown.js - About 2 hrs to fix

Function onScrollWheel has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function onScrollWheel(cm, e) {
  var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y

  var display = cm.display, scroll = display.scroller
  // Quit if there's nothing to scroll here

Function moveVisually has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function moveVisually(cm, line, start, dir) {
  var bidi = getOrder(line, cm.doc.direction)
  if (!bidi) { return moveLogically(line, start, dir) }
  if (start.ch >= line.text.length) {
    start.ch = line.text.length

Consider simplifying this complex logical expression.
Open

    } else if (ch === "*" || ch === "_") {
      var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2)
      while (len < 3 && stream.eat(ch)) len++
      var after = stream.peek() || " "
      // See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis
Severity: Critical
Found in de.bund.bfr.knime.fsklab.deprecatednodes/js-lib/codemirror/markdown.js - About 2 hrs to fix

Function onScrollWheel has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function onScrollWheel(cm, e) {
  var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y

  var display = cm.display, scroll = display.scroller
  // Quit if there's nothing to scroll here

Function Display has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Display(place, doc, input) {
  var d = this
  this.input = input

  // Covers bottom-right square when both scrollbars are present.

Function moveVisually has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function moveVisually(cm, line, start, dir) {
  var bidi = getOrder(line, cm.doc.direction)
  if (!bidi) { return moveLogically(line, start, dir) }
  if (start.ch >= line.text.length) {
    start.ch = line.text.length

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

    set: function(key, val, options) {
      if (key == null) return this;

      // Handle both `"key", value` and `{key: value}` -style arguments.
      var attrs;

Function baseIsEqualDeep has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {
      var objIsArr = isArray(object),
          othIsArr = isArray(other),
          objTag = arrayTag,
          othTag = arrayTag;

Function _normalizeIPv6 has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function _normalizeIPv6(host, protocol) {
    var matches = host.match(protocol.IPV6ADDRESS) || [];

    var _matches2 = slicedToArray(matches, 3),
        address = _matches2[1],

Method retrieveReference has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Reference retrieveReference(Row row) {

        // Check mandatory properties and throw exception if missing
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing Is reference description?");

Method retrieveReference has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Reference retrieveReference(Row row) {

        // Check mandatory properties and throw exception if missing
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing Is reference description?");

Method retrieveReference has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Reference retrieveReference(Row row) {

        // Check mandatory properties and throw exception if missing
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing Is reference description?");

Method retrieveReference has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Reference retrieveReference(Row row) {

        // Check mandatory properties and throw exception if missing
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing Is reference description?");
Severity
Category
Status
Source
Language