SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

  function tokenBase(stream, state) {
    var ch;

    // get next character
    ch = stream.next();

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

  function tokenBase(stream, state) {
    // Handle Comments
    //var ch = stream.peek();

    var parent = state.returnStack[state.returnStack.length - 1];

Function makeChangeFromHistory has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function makeChangeFromHistory(doc, type, allowSelectionOnly) {
    var suppress = doc.cm && doc.cm.state.suppressEdits;
    if (suppress && !allowSelectionOnly) { return }

    var hist = doc.history, event, selAfter = doc.sel;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function append has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        append: function () {
            var container_html = '<span class="irs irs--' + this.options.skin + ' js-irs-' + this.plugin_count + ' ' + this.options.extra_classes + '"></span>';
            this.$cache.input.before(container_html);
            this.$cache.input.prop("readonly", true);
            this.$cache.cont = this.$cache.input.prev();
Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/ion.rangeSlider.js - About 2 hrs to fix

Function submit has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        submit: function(e) {
            e.stopPropagation();
            e.preventDefault();
            
            //get new value from input

Function setValue has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        setValue: function(value) {
            if(!value) {
                return;
            }
            

Function _setOption has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _setOption: function( key, value ) {
        var i,
            valsLength = 0;

        if ( key === "range" && this.options.range === true ) {

Function makeChangeFromHistory has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makeChangeFromHistory(doc, type, allowSelectionOnly) {
  var suppress = doc.cm && doc.cm.state.suppressEdits
  if (suppress && !allowSelectionOnly) { return }

  var hist = doc.history, event, selAfter = doc.sel

Function create_body2 has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function create_body2() {
        let body = `
    <div class="container">
      
      <form class="form-horizontal">

Function makeChangeFromHistory has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makeChangeFromHistory(doc, type, allowSelectionOnly) {
  var suppress = doc.cm && doc.cm.state.suppressEdits
  if (suppress && !allowSelectionOnly) { return }

  var hist = doc.history, event, selAfter = doc.sel

Function compileAsync has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function compileAsync(schema, meta, callback) {
  /* eslint no-shadow: 0 */
  /* global Promise */
  /* jshint validthis: true */
  var self = this;

File NodeUtils.java has 257 lines of code (exceeds 250 allowed). Consider refactoring.
Open

package de.bund.bfr.knime.fsklab.nodes;

import java.io.File;
import java.io.IOException;
import java.net.URI;

File ExtensionDocumentImpl.java has 257 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * An XML document type.
 * Localname: Extension
 * Namespace: http://www.bfr.bund.de/PCML-1_0
 * Java type: de.bund.bfr.pcml10.ExtensionDocument

AddonC has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

public class AddonC extends JPanel {
    
    /**
     * 
     */

DoseResponseModelScope has 21 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 DoseResponseModelScope {
  @SerializedName("hazard")
  private List<Hazard> hazard = new ArrayList<Hazard>();

ModelEquation has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-25T13:50:49.666Z")
public class ModelEquation {
  @SerializedName("name")
  private String name = null;

JsM1Schema has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

@JsonAutoDetect
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
public class JsM1Schema implements ViewValue {

  static final String ATT_MODELCATALOG = "CatModel";

UpdateChecker has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

public class UpdateChecker {
    public static void check4Updates_183_184() {
        try {
            ResultSet rs = DBKernel.getResultSet(
                    "SELECT MIN(\"Agenzien\".\"Agensname\") AS \"Agensname\", MIN(\"Versuchsbedingungen\") AS \"Versuchsbedingung\" FROM \"Messwerte\"" +
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/UpdateChecker.java - About 2 hrs to fix

ScriptHandler has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

public abstract class ScriptHandler implements AutoCloseable {

  protected ModelPlotter plotter;
  protected JsonHandler jsonHandler;
  private boolean saveToJsonChecked = false;

ViewUi has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

public class ViewUi extends JPanel {
    /**
     * 
     */
    private static final long serialVersionUID = -2363842170227621517L;
Severity
Category
Status
Source
Language