SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

File SecondaryModelDialog.java has 336 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

Method createChart has 101 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void createChart() throws ConvertException {
        List<String> selectedIDs = null;

        if (configPanel.isDisplayFocusedRow()) {
            selectedIDs = Arrays.asList(selectionPanel.getFocusedID());

File MyChartCreator.java has 335 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

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

    constructor( metadata, img , state ,  modelScript, visScript , readme ) {
        super( metadata, img , modelScript, visScript, readme ) ;
        this._schema = schemas.predictiveModel;
        if(state){
            this.panels = this._createPanels();
Severity: Major
Found in de.bund.bfr.knime.js/src/js/app/app.schemas.js - About 4 hrs to fix

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

},{}],25:[function(require,module,exports){
'use strict';
module.exports = function generate_if(it, $keyword, $ruleType) {
  var out = ' ';
  var $lvl = it.level;

Study has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

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

GeneralInformation has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

public interface GeneralInformation extends EObject {
    /**
     * Returns the value of the '<em><b>Name</b></em>' attribute.
     * <!-- begin-user-doc -->
     * <p>

SettingsHelper has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

public class SettingsHelper {

    
    protected static final String CFGKEY_ADDEDCONDITIONS = "AddedConditions";
    protected static final String CFGKEY_ADDEDCONDITIONVALUES = "AddedConditionValues";

JoinerNodeModel has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

public final class JoinerNodeModel
    extends AbstractSVGWizardNodeModel<JoinerViewRepresentation, JoinerViewValue>
    implements PortObjectHolder {
    
  private final JoinerNodeSettings nodeSettings = new JoinerNodeSettings();

Method setMIDs has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static HashMap<Integer, Integer> setMIDs(boolean before, String attr, String dbTablename,
            HashMap<Integer, Integer> foreignDbIdsTable, KnimeTuple row, ParametricModel pm) throws PmmException {
        if (dbTablename.equals("Literatur")) {
            PmmXmlDoc lili = row.getPmmXml(attr);
            if (lili != null) {

ProcessNodeImpl has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

    public static class ProcessNodeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements de.bund.bfr.pcml10.ProcessNodeDocument.ProcessNode
    {
        private static final long serialVersionUID = 1L;
        
        public ProcessNodeImpl(org.apache.xmlbeans.SchemaType sType)

Method testConstructors has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testConstructors() {

        // Test constructor with name, isStartParam and value
        final ParamXml param0 = new ParamXml("name", false, 0.0);

ProcessNode has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

    public interface ProcessNode extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ProcessNode.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s121DA543B1FCBC764F9DFAF30A6E9DAF").resolveHandle("processnode854eelemtype");
        

Function bidiOrdering has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var bidiOrdering = (function() {
    // Character types for codepoints 0 to 0xff
    var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";
    // Character types for codepoints 0x600 to 0x6f9
    var arabicTypes = "nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 4 hrs to fix

Function dsv has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.dsv = function(delimiter, mimeType) {
    var reFormat = new RegExp('["' + delimiter + "\n]"), delimiterCode = delimiter.charCodeAt(0);
    function dsv(url, row, callback) {
      if (arguments.length < 3) callback = row, row = null;
      var xhr = d3.xhr(url, mimeType, callback);

Function bidiOrdering has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var bidiOrdering = (function() {
  // Character types for codepoints 0 to 0xff
  var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN"
  // Character types for codepoints 0x600 to 0x6f9
  var arabicTypes = "nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111"

Function bidiOrdering has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var bidiOrdering = (function() {
  // Character types for codepoints 0 to 0xff
  var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN"
  // Character types for codepoints 0x600 to 0x6f9
  var arabicTypes = "nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111"

Method updateColumnsPanel has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void updateColumnsPanel() {
        if (!fileColumnList.isEmpty()) {
            columnBoxes.clear();
            columnButtons.clear();
            columnUnitBoxes.clear();

Method plotBothStrict has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void plotBothStrict(XYPlot plot, Plotable plotable, String id,
            double minX, double maxX) throws ConvertException {
        String legend = shortLegend.get(id);
        List<Color> colorList = colorLists.get(id);
        List<Shape> shapeList = shapeLists.get(id);

Method getFunctionSamplePoints has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public double[][] getFunctionSamplePoints(String paramX, String paramY,
            String unitX, String unitY, String transformX, String transformY,
            double minX, double maxX, double minY, double maxY,
            Map<String, Integer> choice, List<String> warnings)
            throws ConvertException {
Severity
Category
Status
Source
Language