Showing 6,856 of 14,752 total issues
File QraModelSheetImporter.java
has 527 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata.swagger;
import java.math.BigDecimal;
import java.util.HashMap;
- Create a ticketCreate a ticket
File slim.js
has 525 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
// Slim Highlighting for CodeMirror copyright (c) HicknHack Software Gmbh
- Create a ticketCreate a ticket
Function 10
has 215 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],10:[function(require,module,exports){
'use strict';
module.exports = {
- Create a ticketCreate a ticket
Method deserialize
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
@Override
public GenericModelGeneralInformation deserialize(JsonParser parser, DeserializationContext context)
throws IOException, JsonProcessingException {
JsonNode node = parser.readValueAsTree();
- 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 actionPerformed
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
@Override
public void actionPerformed(ActionEvent event) {
if (event.getSource() == xlsButton) {
loadFromXLS();
} else if (event.getSource() == clearButton) {
- 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 55 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec) throws Exception {
Bfrdb db = null;
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
Method doImport
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
public String doImport(final String filename, final JProgressBar progress, final boolean showResults) {
Runnable runnable = new Runnable() {
public void run() {
System.err.println("Importing " + filename);
logMessages += "Importing " + filename + "\n";
- 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 yylex
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
private org.fife.ui.rsyntaxtextarea.Token yylex() {
int zzInput;
int zzAction;
// cached fields:
- 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 yylex
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
private org.fife.ui.rsyntaxtextarea.Token yylex() {
int zzInput;
int zzAction;
// cached fields:
- 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 yylex
has a Cognitive Complexity of 55 (exceeds 5 allowed). Consider refactoring. Open
private org.fife.ui.rsyntaxtextarea.Token yylex() {
int zzInput;
int zzAction;
// cached fields:
- 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 RiskModelSheetImporter.java
has 523 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata.swagger;
import java.math.BigDecimal;
import java.util.HashMap;
- Create a ticketCreate a ticket
File ChildParentDocumentImpl.java
has 523 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* An XML document type.
* Localname: ChildParent
* Namespace: http://www.bfr.bund.de/PCML-1_0
* Java type: de.bund.bfr.pcml10.ChildParentDocument
- Create a ticketCreate a ticket
Method execute
has 213 lines of code (exceeds 25 allowed). Consider refactoring. Open
@Override
protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
throws InvalidSettingsException, IOException, CanceledExecutionException,
InvalidFormatException {
- Create a ticketCreate a ticket
File ImporterUtils.java
has 521 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata.swagger;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
- Create a ticketCreate a ticket
File OtherModelSheetImporter.java
has 520 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata.swagger;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.HashMap;
- Create a ticketCreate a ticket
Function 6
has 212 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{"../dotjs/validate":37,"./error_classes":3,"./resolve":6,"./util":10,"fast-deep-equal":41,"fast-json-stable-stringify":42}],6:[function(require,module,exports){
'use strict';
var URI = require('uri-js')
, equal = require('fast-deep-equal')
- Create a ticketCreate a ticket
File GenericModelSheetImporter.java
has 519 lines of code (exceeds 250 allowed). Consider refactoring. Open
package metadata.swagger;
import java.math.BigDecimal;
import java.util.HashMap;
- Create a ticketCreate a ticket
Method tableMouseClicked
has a Cognitive Complexity of 54 (exceeds 5 allowed). Consider refactoring. Open
private void tableMouseClicked(MouseEvent e) {
if (SwingUtilities.isLeftMouseButton(e)) {
/*
* int row = table.getSelectedRow(); int col =
* table.getSelectedColumn();
- 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 insertCondition
has a Cognitive Complexity of 54 (exceeds 5 allowed). Consider refactoring. Open
private Integer insertCondition(Integer condId, final Integer tempId, final Integer phId, final Integer awId, final String agentName, final String matrixName,
final String combaseId, Integer matrixId, Integer agentId, final String agentDetail, final String matrixDetail, PmmXmlDoc misc, final String comment, final Integer qs, final Boolean checked, PmmXmlDoc lit,
PmmTimeSeries ts) {
String warnings = "";
- 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 notify
has 210 lines of code (exceeds 25 allowed). Consider refactoring. Open
function notify(map) {
var options = getOptions();
var iconClass = map.iconClass || options.iconClass;
if (typeof (map.optionsOverride) !== 'undefined') {
- Create a ticketCreate a ticket