Rule |
Violation |
Priority |
Line |
CyclomaticComplexity |
The class 'NeuronSquareMesh2D' has a total cyclomatic complexity of 99 (highest 47). |
3 |
46–818 |
AvoidInstantiatingObjectsInLoops |
Avoid instantiating new objects inside loops |
3 |
189 |
AvoidSynchronizedAtMethodLevel |
Use block level rather than method level synchronization |
3 |
235–246 |
NPathComplexity |
The method 'getLocation(int, int, HorizontalDirection, VerticalDirection)' has an NPath complexity of 720, current threshold is 200 |
3 |
398–458 |
ReturnEmptyCollectionRatherThanNull |
Return an empty collection rather than null. |
1 |
454 |
CognitiveComplexity |
The method 'createLinks()' has a cognitive complexity of 158, current threshold is 15 |
3 |
463–593 |
NPathComplexity |
The method 'createLinks()' has an NPath complexity of 55516, current threshold is 200 |
3 |
463–593 |
CyclomaticComplexity |
The method 'createLinks()' has a cyclomatic complexity of 47. |
3 |
463–593 |
ImplicitSwitchFallThrough |
A switch statement does not contain a break |
3 |
472–582 |
SwitchDensity |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
3 |
472–582 |
DataClass |
The class 'DataVisualization' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=20) |
3 |
604–817 |