| Violation | Line |
|---|
| Avoid unused imports such as 'ByteArrayInputStream' |
22
|
| Avoid unused imports such as 'OutputStream' |
29
|
| Avoid unused imports such as 'HttpServletRequestWrapper' |
38
|
| Avoid unused imports such as 'HttpServletRequest' |
52
|
| The class 'PerlPortlet' has a Cyclomatic Complexity of 8 (Highest = 26). |
79
|
| Avoid unused private fields such as 'log' |
118
|
| Avoid unused private fields such as 'lastQuery' |
122
|
| Avoid using if statements without curly braces |
147
|
| Avoid using if statements without curly braces |
150
|
| Avoid using if statements without curly braces |
155
|
| Avoid if (x != y) ..; else ..; |
183
|
| Avoid using 'if...else' statements without curly braces |
187
|
| Avoid using 'if...else' statements without curly braces |
189
|
| Avoid really long methods. |
254
|
| The method 'doView' has a Cyclomatic Complexity of 26. |
254
|
| Avoid unused local variables such as 'scriptName' |
267
|
| Avoid if (x != y) ..; else ..; |
286
|
| Avoid unused local variables such as 'names' |
320
|
| Avoid using if statements without curly braces |
331
|
| Avoid using if statements without curly braces |
360
|
| Avoid unnecessary comparisons in boolean expressions |
388
|
| Avoid using if statements without curly braces |
388
|
| Avoid using 'if...else' statements without curly braces |
425
|
| Avoid using 'if...else' statements without curly braces |
427
|
| Avoid instantiating String objects; this is usually unnecessary. |
429
|
| Avoid unnecessary comparisons in boolean expressions |
450
|
| Avoid if (x != y) ..; else ..; |
462
|
| Avoid unnecessary comparisons in boolean expressions |
471
|
| Avoid unnecessary comparisons in boolean expressions |
483
|
| Avoid unnecessary comparisons in boolean expressions |
495
|
| Avoid unnecessary comparisons in boolean expressions |
538
|
| Avoid unnecessary comparisons in boolean expressions |
601
|
| Avoid unused private methods such as 'getController' |
633
|
| Avoid using 'if...else' statements without curly braces |
704
|
| Avoid using 'if...else' statements without curly braces |
706
|