SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function albersUsa has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.geo.albersUsa = function() {
    var lower48 = d3.geo.albers();
    var alaska = d3.geo.conicEqualArea().rotate([ 154, 0 ]).center([ -2, 58.5 ]).parallels([ 55, 65 ]);
    var hawaii = d3.geo.conicEqualArea().rotate([ 157, 0 ]).center([ -3, 19.9 ]).parallels([ 8, 18 ]);
    var point, pointStream = {

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

    drag: function( event, ui, draggable ) {
        $.each( draggable.sortables, function() {
            var innermostIntersecting = false,
                sortable = this;

Function _refresh has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _refresh: function() {
        var maxHeight,
            options = this.options,
            heightStyle = options.heightStyle,
            parent = this.element.parent();

Function Datepicker has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Datepicker() {
    this._curInst = null; // The current instance in use
    this._keyEvent = false; // If the last event was a key event
    this._disabledInputs = []; // List of date picker inputs that have been disabled
    this._datepickerShowing = false; // True if the popup picker is showing , false if not

Function createUI has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function createUI() {

    let panelsById = [
      { id: "modelScript", panel: `<textarea id="modelScriptArea">${_val.firstModelScript}</textarea>` },
      { id: "visualizationScript", panel: `<textarea id="visualizationScriptArea">${_val.firstModelViz}</textarea>` },

File PredictorViewNodeModel.java has 292 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

FoodProcessNodeModel has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

public class FoodProcessNodeModel extends NodeModel {
    public static final int N_PORT_IN = 4;
    public static final int N_PORT_OUT = 4;
    public static String defaultBacterialUnit = "log10(count/g)";
    private static boolean doModelsOut = false;

OtherModelScope has 26 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 OtherModelScope {
  @SerializedName("product")
  private List<Product> product = null;

StudySampleImpl has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

public class StudySampleImpl extends MinimalEObjectImpl.Container implements StudySample {
    /**
     * The default value of the '{@link #getSampleName() <em>Sample Name</em>}' attribute.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->

ExposureModelScope has 26 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 ExposureModelScope {
  @SerializedName("product")
  private List<Product> product = new ArrayList<Product>();

GenericModelScope has 26 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 GenericModelScope {
  @SerializedName("product")
  private List<Product> product = null;

DoseResponseModelModelMath has 26 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 DoseResponseModelModelMath {
  @SerializedName("parameter")
  private List<Parameter> parameter = new ArrayList<Parameter>();

ModelPlotterNodeModel has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

public final class ModelPlotterNodeModel
        extends AbstractSVGWizardNodeModel<ModelPlotterViewRepresentation, ModelPlotterViewValue> {

    enum MODEL_TYPE {
        M12, M1, M2

Method createPanel has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private JComponent createPanel() {
        JPanel panel = new JPanel();
        JPanel rangePanel = new JPanel();

        minimumFields = new LinkedHashMap<>();

Method createMainComponent has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private JComponent createMainComponent() {
        if (set.isStandardVisibleColumns()) {
            set.setVisibleColumns(reader.getStandardVisibleColumns());
        }

Method execute has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec)
            throws Exception {
        KnimeTuple modelTuple = new KnimeTuple(set.getModelTuple().getSchema(),
                set.getModelTuple().getSchema().createSpec(), set.getModelTuple());

LieferkettenImporterEFSA has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("unused")
public class LieferkettenImporterEFSA extends FileFilter implements MyImporter {
    /**
     * This is the one of the methods that is declared in the abstract class
     */

Method fillHashtable has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    LinkedHashMap<Object, String> fillHashtable(final MyTable theTable, final String startDelim, final String delimiter, final String endDelim, final boolean goDeeper,
            final boolean forceUpdate, HashSet<MyTable> alreadyUsed) {
        if (theTable == null) {
            return null;
        }
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBI.java - About 3 hrs to fix

RTokenMaker has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings(value = { "all" })
class RTokenMaker extends AbstractJFlexCTokenMaker {

    /**
     * This character denotes the end of file

RTokenMaker has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings(value = { "all" })
class RTokenMaker extends AbstractJFlexCTokenMaker {

    /**
     * This character denotes the end of file
Severity
Category
Status
Source
Language