Violation
|
Line
|
The class 'MyGrappaAdapter' has a Cyclomatic Complexity of 12 (Highest = 31).
|
54
|
Avoid unused private fields such as 'CAT'
|
59
|
Avoid really long methods.
|
121
|
Avoid variables with short names
|
121
|
The method 'grappaClicked' has a Cyclomatic Complexity of 31.
|
121
|
Avoid using if statements without curly braces
|
153
|
Deeply nested if..then statements are hard to read
|
155
|
Deeply nested if..then statements are hard to read
|
184
|
Deeply nested if..then statements are hard to read
|
194
|
Avoid using if statements without curly braces
|
229
|
Avoid empty 'if' statements
|
288
|
Avoid variables with short names
|
301
|
The same String literal appears 4 times in this file; the first occurrence is on line 314
|
314
|
Avoid variables with short names
|
365
|
Avoid unused local variables such as 'centerPoint'
|
400
|
Avoid variables with short names
|
468
|
The method 'grappaTip' has a Cyclomatic Complexity of 17.
|
468
|
Avoid variables with short names
|
480
|
Avoid really long methods.
|
537
|
The method 'actionPerformed' has a Cyclomatic Complexity of 31.
|
537
|
Avoid variables with short names
|
544
|
Avoid using if statements without curly braces
|
549
|
Avoid using if statements without curly braces
|
576
|
Avoid using if statements without curly braces
|
590
|
Avoid variables with short names
|
626
|
Avoid variables with short names
|
627
|
Avoid using if statements without curly braces
|
628
|
Avoid variables with short names
|
636
|
Avoid using implementation types like 'Vector'; use the interface instead
|
675
|
The method 'drillDown' has a Cyclomatic Complexity of 17.
|
675
|
A high ratio of statements to labels in a switch statement. Consider refactoring.
|
691
|
Switch statements should have a default label
|
691
|