Showing 6,856 of 14,752 total issues
File SwaggerQraModelSheetImporter.java
has 939 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
- Create a ticketCreate a ticket
File SwaggerRiskModelSheetImporter.java
has 937 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
- Create a ticketCreate a ticket
Method run
has a Cognitive Complexity of 114 (exceeds 5 allowed). Consider refactoring. Open
@Override
public void run() {
try {
KnimeRelationReader reader = new KnimeRelationReader(schema,
inTable);
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method handleConditions
has a Cognitive Complexity of 114 (exceeds 5 allowed). Consider refactoring. Open
private String handleConditions(final Integer condId, final PmmXmlDoc misc, PmmTimeSeries ts) {
String result = "";
PreparedStatement ps;
try {
ps = conn.prepareStatement("DELETE FROM \"Versuchsbedingungen_Sonstiges\" WHERE \"Versuchsbedingungen\" = " + condId);
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File SwaggerExposureSheetImporter.java
has 931 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
- Create a ticketCreate a ticket
File SwaggerOtherModelSheetImporter.java
has 930 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
- Create a ticketCreate a ticket
File FSMRUtils.java
has 927 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 the Free Software Foundation, either version 3 of the
- Create a ticketCreate a ticket
File ChartConfigPanel.java
has 921 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
- Create a ticketCreate a ticket
Function 37
has 452 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],37:[function(require,module,exports){
'use strict';
module.exports = function generate_validate(it, $keyword, $ruleType) {
var out = '';
var $async = it.schema.$async === true,
- Create a ticketCreate a ticket
FSMRTemplateImpl
has 116 methods (exceeds 20 allowed). Consider refactoring. Open
public class FSMRTemplateImpl implements FSMRTemplate {
private static final long serialVersionUID = -3414978919227860002L;
private String modelName;
- Create a ticketCreate a ticket
FSMRTemplate
has 116 methods (exceeds 20 allowed). Consider refactoring. Open
public interface FSMRTemplate extends Serializable {
/**
* Returns the model name of this {@link FSMRTemplate}.
*
- Create a ticketCreate a ticket
Function generate_validate
has 450 lines of code (exceeds 25 allowed). Consider refactoring. Open
module.exports = function generate_validate(it, $keyword, $ruleType) {
var out = '';
var $async = it.schema.$async === true,
$refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'),
$id = it.self._getId(it.schema);
- Create a ticketCreate a ticket
File RAKIPSheetImporter.java
has 914 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
- Create a ticketCreate a ticket
File SwaggerDataModelSheetImporter.java
has 911 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
- Create a ticketCreate a ticket
Method doImport
has a Cognitive Complexity of 110 (exceeds 5 allowed). Consider refactoring. Open
public String doImport(final String filename, final JProgressBar progress, final boolean showResults) {
errorMessage = "";
Runnable runnable = new Runnable() {
public void run() {
try {
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File test.js
has 906 lines of code (exceeds 250 allowed). Consider refactoring. Open
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function() {
var config = {tabSize: 4, indentUnit: 2}
- Create a ticketCreate a ticket
File TimeSeriesCreatorNodeDialog.java
has 904 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
- Create a ticketCreate a ticket
Method run
has a Cognitive Complexity of 109 (exceeds 5 allowed). Consider refactoring. Open
public void run() {
try {
if (progress != null) {
progress.setVisible(true);
progress.setStringPainted(true);
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method getModelTuples
has 438 lines of code (exceeds 25 allowed). Consider refactoring. Open
public Map<String, KnimeTuple> getModelTuples(File file, String sheet, Map<String, Object> columnMappings,
String agentColumnName, Map<String, AgentXml> agentMappings, String matrixColumnName,
Map<String, MatrixXml> matrixMappings, KnimeTuple modelTuple, Map<String, String> modelMappings,
Map<String, String> modelParamErrors, String modelDepMin, String modelDepMax, String modelDepUnit,
String modelIndepMin, String modelIndepMax, String modelIndepUnit, String modelRmse, String modelR2,
- Create a ticketCreate a ticket
Function addFunctionFromSelection
has 438 lines of code (exceeds 25 allowed). Consider refactoring. Open
function addFunctionFromSelection(selectedModel,onlySecondaryModel,mode,headless)
{
var manaual = !isRealValue(selectedModel)&&!isRealValue(onlySecondaryModel)&&!isRealValue(mode)
if(manaual){
onlySecondaryModel = _onlySecondaryModel;
- Create a ticketCreate a ticket