Showing 6,856 of 14,752 total issues
Function 15
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],15:[function(require,module,exports){
'use strict';
module.exports = function generate__limitProperties(it, $keyword, $ruleType) {
var out = ' ';
var $lvl = it.level;
- Create a ticketCreate a ticket
Function 13
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],13:[function(require,module,exports){
'use strict';
module.exports = function generate__limitItems(it, $keyword, $ruleType) {
var out = ' ';
var $lvl = it.level;
- Create a ticketCreate a ticket
Function 28
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],28:[function(require,module,exports){
'use strict';
module.exports = function generate_multipleOf(it, $keyword, $ruleType) {
var out = ' ';
var $lvl = it.level;
- Create a ticketCreate a ticket
Function getComponentValue
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
joinerNode.getComponentValue = function() {
try{
if(window.store7.getState().jsonforms.core.data){
window.store6.getState().jsonforms.core.data.study = window.store7.getState().jsonforms.core.data
- Create a ticketCreate a ticket
Method getUP
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
public static boolean getUP(String dbPath) {
boolean result = false;
DBKernel.closeDBConnections(false);
String sa = getDefaultSA();
- Create a ticketCreate a ticket
Function token
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
token: function (stream, stt) {
var mat;
if (stream.eatSpace()) {
return null;
}
- Create a ticketCreate a ticket
Function normal
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
function normal() {
return function (source, setState) {
if (source.eatWhile(whiteCharRE)) {
return null;
}
- Create a ticketCreate a ticket
Function place
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
place: function(){
if (this.isInline)
return this;
var calendarWidth = this.picker.outerWidth(),
calendarHeight = this.picker.outerHeight(),
- Create a ticketCreate a ticket
Function fromElement
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Options.prototype.fromElement = function ($e) {
var excludedData = ['select2'];
if (this.options.multiple == null) {
this.options.multiple = $e.prop('multiple');
- Create a ticketCreate a ticket
Function _clear
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
_clear: function(event, noPropagation) {
this.reverting = false;
// We delay all events that have to be triggered to after the point where the placeholder has been removed and
// everything else normalized again
- Create a ticketCreate a ticket
Function parseSecondaryModels
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
function parseSecondaryModels(currentModel,tertiaryModel,headless){
var formulaPrim = currentModel.catalogModel.formula; // main formula is shared
var paramsPrim = currentModel.paramList.params; // so are the primary parameters
var indepsPrim = currentModel.indepList.indeps; // so are the indepdent parameters
var depPrim = currentModel.dep; // so are the primary parameters
- Create a ticketCreate a ticket
Function widget
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
$.widget = function( name, base, prototype ) {
var fullName, existingConstructor, constructor, basePrototype,
// proxiedPrototype allows the provided prototype to remain unmodified
// so that it can be used as a mixin for multiple widgets (#8876)
proxiedPrototype = {},
- Create a ticketCreate a ticket
Method getDouble
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
private Double getDouble(final String val) {
Double result = null;
try {
if (val.indexOf("d") < 0 && val.indexOf("D") < 0) result = Double.parseDouble(val.trim());
else Double.parseDouble("wsd");
- 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 buttonActionPerformed
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
private void buttonActionPerformed(ActionEvent e) {
//System.err.println(e);
int index = 0;
JButton b = ((JButton) e.getSource());
for (;index<l1.size();index++) {
- 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 deserialize
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
@Override
public GenericModelModelMath 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 deserialize
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
@Override
public GenericModelScope 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 equals
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null || getClass() != obj.getClass())
- 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 loadSettingsFrom
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final DataTableSpec[] specs)
throws NotConfigurableException {
set = new SettingsHelper();
set.loadSettings(settings);
- 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 loadSettings
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
public void loadSettings(NodeSettingsRO settings) {
try {
selectedIDs = XmlConverter.xmlToObject(
settings.getString(CFG_SELECTEDIDS),
new ArrayList<String>());
- 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 createChart
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
private void createChart() {
String id = null;
if (configPanel.isDisplayFocusedRow()) {
id = selectionPanel.getFocusedID();
- 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"