Violation | Line |
---|
Avoid unused imports such as 'ByteArrayInputStream' |
21
|
Avoid unused imports such as 'OutputStream' |
28
|
Avoid unused imports such as 'HttpServletRequestWrapper' |
37
|
Avoid unused imports such as 'HttpServletRequest' |
51
|
The class 'PerlPortlet' has a Cyclomatic Complexity of 8 (Highest = 26). |
78
|
Avoid unused private fields such as 'log' |
117
|
Avoid unused private fields such as 'lastQuery' |
121
|
Avoid using if statements without curly braces |
146
|
Avoid using if statements without curly braces |
149
|
Avoid using if statements without curly braces |
154
|
Avoid if (x != y) ..; else ..; |
182
|
Avoid using 'if...else' statements without curly braces |
186
|
Avoid using 'if...else' statements without curly braces |
188
|
Avoid really long methods. |
253
|
The method 'doView' has a Cyclomatic Complexity of 26. |
253
|
Avoid unused local variables such as 'scriptName' |
266
|
Avoid if (x != y) ..; else ..; |
285
|
Avoid unused local variables such as 'names' |
319
|
Avoid using if statements without curly braces |
330
|
Avoid using if statements without curly braces |
359
|
Avoid unnecessary comparisons in boolean expressions |
387
|
Avoid using if statements without curly braces |
387
|
Avoid using 'if...else' statements without curly braces |
424
|
Avoid using 'if...else' statements without curly braces |
426
|
Avoid instantiating String objects; this is usually unnecessary. |
428
|
Avoid unnecessary comparisons in boolean expressions |
449
|
Avoid if (x != y) ..; else ..; |
461
|
Avoid unnecessary comparisons in boolean expressions |
470
|
Avoid unnecessary comparisons in boolean expressions |
482
|
Avoid unnecessary comparisons in boolean expressions |
494
|
Avoid unnecessary comparisons in boolean expressions |
537
|
Avoid unnecessary comparisons in boolean expressions |
600
|
Avoid unused private methods such as 'getController' |
632
|
Avoid using 'if...else' statements without curly braces |
703
|
Avoid using 'if...else' statements without curly braces |
705
|