Showing 6,856 of 14,752 total issues
PredictiveModelScopeProduct
has 40 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 PredictiveModelScopeProduct {
@SerializedName("name")
private String name = null;
- Create a ticketCreate a ticket
Product
has 40 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 Product {
@SerializedName("name")
private String name = null;
- Create a ticketCreate a ticket
JoinerNodeModel
has 40 methods (exceeds 20 allowed). Consider refactoring. Open
public final class JoinerNodeModel extends
AbstractWizardNodeModel<JoinerViewRepresentation, JoinerViewValue> implements PortObjectHolder {
private final JoinerNodeSettings m_config = new JoinerNodeSettings();
- Create a ticketCreate a ticket
Method decodeM12DataSchemas
has 133 lines of code (exceeds 25 allowed). Consider refactoring. Open
private List<KnimeTuple> decodeM12DataSchemas(List<JsM12DataSchema> schemas) {
List<KnimeTuple> tuples = new LinkedList<>();
KnimeSchema knimeSchema = SchemaFactory.createM12DataSchema();
- Create a ticketCreate a ticket
Function initHeader
has 133 lines of code (exceeds 25 allowed). Consider refactoring. Open
BootstrapTable.prototype.initHeader = function () {
var that = this,
visibleColumns = {},
html = [];
- Create a ticketCreate a ticket
File RAKIPSheetImporterTest.java
has 388 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
- Create a ticketCreate a ticket
Method getDataTable
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
private void getDataTable(Bfrdb db) {
try {
try {
if (refresher != null) refresher.call();
}
- Create a ticketCreate a ticket
Function tokenBase
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
function tokenBase(stream, state) {
// Handle multiline comments
if (stream.match(/^#=/, false)) {
state.tokenize = tokenComment;
return state.tokenize(stream, state);
- Create a ticketCreate a ticket
Function tokenBase
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
function tokenBase(stream, state) {
if (stream.eatSpace()) {
return null;
}
- Create a ticketCreate a ticket
Function reoderTool
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
function reoderTool() {
$('.selectSimulation').on('mousedown click', function (evt) {
evt.stopPropagation();
});
var previous;
- Create a ticketCreate a ticket
Method loadFromXLS
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private void loadFromXLS() {
JFileChooser fileChooser = new JFileChooser();
FileFilter xlsFilter = new FileFilter() {
@Override
- 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 updateColumnsPanel
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private void updateColumnsPanel() {
if (!fileColumnList.isEmpty()) {
columnBoxes.clear();
columnButtons.clear();
columnUnitBoxes.clear();
- 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 execute
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec)
throws Exception {
DataTable table = (DataTable) inObjects[0];
TableReader reader;
- 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 run
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
@Override
public void run() {
try {
if (DBKernel.isKrise) {
go4ISM(pd4);
- 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 itemStateChanged
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
@Override
public void itemStateChanged(ItemEvent e) {
if (e.getSource() == rmseBox) {
rmse = (String) rmseBox.getSelectedItem();
} else if (e.getSource() == r2Box) {
- 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 checkOtherEditor2Open
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private void checkOtherEditor2Open(final int lastClickedRow, final int lastClickedCol, final int x, final int y, final char ch) {
if (lastClickedCol > 0) {
MyTable[] myTs = actualTable.getForeignFields();
if (lastClickedCol > 0 && lastClickedCol <= myTs.length && myTs[lastClickedCol-1] != null &&
myTs[lastClickedCol-1].getTablename().equals("DoubleKennzahlen")) {
- 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 doImportGaia
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private int[] doImportGaia(HSSFWorkbook wb, JProgressBar progress) {
int numSuccess = 0;
int numFails = 0;
HSSFSheet transactionSheet = wb.getSheet("Transactions");
HSSFSheet businessSheet = wb.getSheet("Business_List");
- 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 insertEm
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
public Integer insertEm(final ParametricModel pm, Integer workflowID, final ParametricModel ppm) { // , HashMap<String, String> hm
Integer estModelId = null;
Double rms = pm.getRms();
Double r2 = pm.getRsquared();
- 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
Function createBody
has 131 lines of code (exceeds 25 allowed). Consider refactoring. Open
function createBody() {
$('body').html(`<div class="container-fluid">
<nav class="navbar navbar-default">
<div class="navbar-collapse collapse">
- Create a ticketCreate a ticket
File editor.js
has 385 lines of code (exceeds 250 allowed). Consider refactoring. Open
fskeditorjs = function () {
const view = { version: "1.0.0" };
view.name = "Javascript FSK Editor";
- Create a ticketCreate a ticket