SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

    function tokenBase(stream, state) {
      var ch = stream.next();

      if (ch == '"' || ch == "'") {
        state.tokenize = tokenString(ch);
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/ttcn/ttcn.js - About 2 hrs to fix

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

  function tokenBase(stream, state) {
    var ch;

    // get next character
    ch = stream.next();
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/yacas/yacas.js - About 2 hrs to fix

Function d3_scale_log has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_scale_log(linear, base, positive, domain) {
    function log(x) {
      return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base);
    }
    function pow(x) {

Function clipLine has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function clipLine(listener) {
      var point0, c0, v0, v00, clean;
      return {
        lineStart: function() {
          v00 = v0 = false;

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

    drag: function( event, ui, inst ) {

        var ts, bs, ls, rs, l, r, t, b, i, first,
            o = inst.options,
            d = o.snapTolerance,

Function explode has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var effectExplode = $.effects.effect.explode = function( o, done ) {

    var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
        cells = rows,
        el = $( this ),

Function change_parameters has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function change_parameters(name) {
        $("#formula, #boundary_conditions").change(function() {
            if($("#formula").val() === ''){
                $("#formula").val($("#formula").data('value'));
                $("#boundary_conditions").val($("#boundary_conditions").data('value'));

Function buildToken has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function buildToken(builder, text, style, startStyle, endStyle, title, css) {
  if (!text) { return }
  var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text
  var special = builder.cm.state.specialChars, mustWrap = false
  var content

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

TextareaInput.prototype.init = function (display) {
    var this$1 = this;

  var input = this, cm = this.cm
  this.createField(display)

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

TextareaInput.prototype.init = function (display) {
    var this$1 = this;

  var input = this, cm = this.cm
  this.createField(display)

Function buildToken has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function buildToken(builder, text, style, startStyle, endStyle, title, css) {
  if (!text) { return }
  var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text
  var special = builder.cm.state.specialChars, mustWrap = false
  var content

Function 2 has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{}],2:[function(require,module,exports){
'use strict';

var MissingRefError = require('./error_classes').MissingRef;

Function createHybridWrapper has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
      var isAry = bitmask & ARY_FLAG,
          isBind = bitmask & BIND_FLAG,
          isBindKey = bitmask & BIND_KEY_FLAG,
          isCurry = bitmask & CURRY_FLAG,

File PlausibleDialog4Krise.java has 264 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*******************************************************************************
 * Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/PlausibleDialog4Krise.java - About 2 hrs to fix

MyChartDialog has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

public class MyChartDialog extends JDialog {
    
    /**
     * 
     */

Product has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

public interface Product extends EObject {
    /**
     * Returns the value of the '<em><b>Product Name</b></em>' attribute.
     * <!-- begin-user-doc -->
     * <p>
Severity: Minor
Found in de.bund.bfr.knime.fsklab.metadata.model/gen/metadata/Product.java - About 2 hrs to fix

ConsumptionModelScope has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class ConsumptionModelScope {
  @SerializedName("product")
  private List<Product> product = new ArrayList<Product>();

HealthModelScope has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class HealthModelScope {
  @SerializedName("hazard")
  private List<Hazard> hazard = new ArrayList<Hazard>();

Exposure has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class Exposure {
  @SerializedName("treatment")
  private List<String> treatment = null;

ToxicologicalModelScope has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class ToxicologicalModelScope {
  @SerializedName("hazard")
  private List<Hazard> hazard = null;

Severity
Category
Status
Source
Language