Showing 4,261 of 4,261 total issues
File PNImport.java
has 653 lines of code (exceeds 250 allowed). Consider refactoring. Open
/**
* LearnPAd - Verification Component - Deadlock Check Plugin
*
* Copyright (C) 2015 Unicam
* This program is free software: you can redistribute it and/or modify
File OntologyTreeListener.java
has 647 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* OntologyTreeListener.java
*
* Niraj Aswani, 12/March/07
*
Method findGL
has a Cognitive Complexity of 72 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected void findGL(Definitions diagram) {
StringBuilder temp = new StringBuilder();
int num = 0;
- Read upRead up
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 findGL
has a Cognitive Complexity of 72 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected void findGL(Definitions diagram) {
StringBuilder temp = new StringBuilder();
int num = 0;
- Read upRead up
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 findGL
has a Cognitive Complexity of 72 (exceeds 5 allowed). Consider refactoring. Open
public void findGL(Definitions diagram) {
// StringBuilder ret = new StringBuilder("");
boolean flag=false;
for (RootElement rootElement : diagram.getRootElements()) {
if (rootElement instanceof Process) {
- Read upRead up
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 SesameManager.java
has 640 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* SesameManager.java
*
* Copyright (c) 1995-2012, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
Function taskReceiver
has a Cognitive Complexity of 71 (exceeds 5 allowed). Consider refactoring. Open
function taskReceiver(address, user, integratedMode, sessionid, platformAddress) {
if (typeof integratedMode == 'undefined') {
integratedMode = false;
}
- Read upRead up
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 Updater
has a Cognitive Complexity of 70 (exceeds 5 allowed). Consider refactoring. Open
function() {
var BEFOREUPDATE = "beforeupdate",
UPDATE = "update",
FAILURE = "failure";
- Read upRead up
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 Ajax
has 276 lines of code (exceeds 25 allowed). Consider refactoring. Open
Ext.lib.Ajax = function() {
var activeX = ['Msxml2.XMLHTTP.6.0',
'Msxml2.XMLHTTP.3.0',
'Msxml2.XMLHTTP'],
CONTENTTYPE = 'Content-Type';
DocumentRootImpl
has 73 methods (exceeds 20 allowed). Consider refactoring. Open
public class DocumentRootImpl extends MinimalEObjectImpl.Container implements DocumentRoot {
/**
* The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
File OntologyViewer.java
has 616 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* OntologyViewer.java
*
* Niraj Aswani, 12/March/07
*
Method findGL
has a Cognitive Complexity of 68 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected void findGL(Definitions diagram) {
StringBuilder temp = new StringBuilder();
int num = 0;
- Read upRead up
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 direct-debug.js
has 611 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
File pkg-buttons-debug.js
has 607 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
Function JSON
has a Cognitive Complexity of 66 (exceeds 5 allowed). Consider refactoring. Open
Ext.util.JSON = new (function(){
var useHasOwn = !!{}.hasOwnProperty,
isNative = function() {
var useNative = null;
- Read upRead up
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 7
has a Cognitive Complexity of 66 (exceeds 5 allowed). Consider refactoring. Open
},{"+NscNm":1,"./Errors":2}],7:[function(require,module,exports){
"use strict";
var SchemaCompilation = require("./SchemaCompilation");
var SchemaValidation = require("./SchemaValidation");
- Read upRead up
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 259 lines of code (exceeds 25 allowed). Consider refactoring. Open
public void actionPerformed(ActionEvent ae) {
if(ae.getSource() == otherAS) {
annotationSetsNamesCB.setEnabled(true);
if(annotationSetsNamesCB.getSelectedItem() == null
Store
has 70 functions (exceeds 20 allowed). Consider refactoring. Open
Ext.data.Store = Ext.extend(Ext.util.Observable, {
/**
* @cfg {String} storeId If passed, the id to use to register with the <b>{@link Ext.StoreMgr StoreMgr}</b>.
* <p><b>Note</b>: if a (deprecated) <tt>{@link #id}</tt> is specified it will supersede the <tt>storeId</tt>
* assignment.</p>
Method findGL
has a Cognitive Complexity of 65 (exceeds 5 allowed). Consider refactoring. Open
@Override
protected void findGL(Definitions diagram) {
StringBuilder temp = new StringBuilder();
int num = 0;
- Read upRead up
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 findGL
has a Cognitive Complexity of 64 (exceeds 5 allowed). Consider refactoring. Open
public void findGL(Definitions diagram) {
StringBuilder ret = new StringBuilder(""); //$NON-NLS-1$
int i = 1;
for (RootElement rootElement : diagram.getRootElements()) {
if (rootElement instanceof Process) {
- Read upRead up
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"