SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method updateParamValues has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static void updateParamValues(List<KnimeTuple> tuples,
            Map<KnimeTuple, List<KnimeTuple>> tupleCombinations) {
        Map<Integer, Map<String, Double>> paramSums = new LinkedHashMap<>();
        Map<Integer, Map<String, Integer>> paramCounts = new LinkedHashMap<>();
        Map<Integer, Map<String, Double>> paramValues = new LinkedHashMap<>();

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

    function tokenBase(stream, state) {
        if (stream.eatSpace()) {
            return null;
        }

Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/vb/vb.js - About 3 hrs to fix

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

    function tokenBase(stream, state) {
        var beforeParams = state.beforeParams;
        state.beforeParams = false;
        var ch = stream.next();
        // start of unparsed string?

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

  d3_selectionPrototype.data = function(value, key) {
    var i = -1, n = this.length, group, node;
    if (!arguments.length) {
      value = new Array(n = (group = this[0]).length);
      while (++i < n) {

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

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

ParametersSetting has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

public class ParametersSetting {
    private final String PARAM_TEMPERATURE = "temperature";
    private final String PARAM_TEMPERATUREALT = "temperatureAlt";
    private final String PARAM_TEMPERATURE_UNIT = "temperatureUnit";
    private final String PARAM_VOLUME = "volume";

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

TableReader has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

public class TableReader {

    private static final String IDENTIFIER = "Identifier";

    private List<String> ids;

FSKEditorJSViewValue has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

class FSKEditorJSViewValue extends JSONViewContent {

  private static final ObjectMapper MAPPER = FskPlugin.getDefault().MAPPER104;

  private static final String CFG_MODEL_METADATA = "ModelMetaData";

DataTable has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

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

DataTableImpl has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

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

Method insertM has 79 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Integer insertM(final ParametricModel m) {
        int modelId = m.modelId;
        Integer fID = getId4Formula(m.getFormula(), m.getLevel(), modelId);
        boolean iop = isObjectPresent("Modellkatalog", modelId);

Method getValueAt has 79 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public Object getValueAt(int row, int col) {
      switch (Col.values()[col]) {
        case Model_Name:
          return template.modelName;

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

    formatDate: function (format, date, settings) {
        if (!date) {
            return "";
        }

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

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

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

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

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

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

Method writeM2 has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private ParametricModel writeM2(KnimeTuple row, EstModelXml emx, ParametricModel ppm, String dbuuid, Integer wfID) {
        ParametricModel spm = null;
        Integer rowEstM2ID = emx.id;
        CatalogModelXml cmx = null;
        PmmXmlDoc catModel = row.getPmmXml(Model2Schema.ATT_MODELCATALOG);

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

    @Override
    protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec) throws Exception {
        boolean filterEnabled = false;

        if (!matrixString.isEmpty() || !agentString.isEmpty() || !literatureString.isEmpty() || matrixID > 0 || agentID > 0 || literatureID > 0 || parameter.size() > 0) filterEnabled = true;

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

    private void updateColumnsPanel() {
        if (!fileColumnList.isEmpty()) {
            columnBoxes.clear();
            columnButtons.clear();
            columnUnitBoxes.clear();
Severity
Category
Status
Source
Language