PMD Results
The following document contains the results of PMD 6.4.0.
Files
org/opentrafficsim/swing/gui/AnimationToggles.java
| Violation |
Priority |
Line |
| Avoid modifiers which are implied by the context |
3 |
177–181 |
| Avoid modifiers which are implied by the context |
3 |
188–192 |
org/opentrafficsim/swing/gui/OTSAnimationPanel.java
| Violation |
Priority |
Line |
| Avoid empty try blocks |
3 |
597–599 |
| Avoid empty catch blocks |
3 |
600–603 |
| These nested if statements could be combined |
3 |
1017–1020 |
org/opentrafficsim/swing/gui/OTSControlPanel.java
| Violation |
Priority |
Line |
| Useless qualified this usage in the same class. |
3 |
420 |
| Useless qualified this usage in the same class. |
3 |
426 |
| Avoid unused local variables such as 'rect'. |
3 |
432 |
| Useless qualified this usage in the same class. |
3 |
435 |
| Useless qualified this usage in the same class. |
3 |
827 |
org/opentrafficsim/swing/gui/OTSSwingApplication.java
| Violation |
Priority |
Line |
| Avoid empty catch blocks |
3 |
137–140 |
org/opentrafficsim/swing/script/AbstractSimulationScript.java
| Violation |
Priority |
Line |
| Useless qualified this usage in the same class. |
3 |
280 |
| Useless qualified this usage in the same class. |
3 |
280 |
| Useless qualified this usage in the same class. |
3 |
291 |
| Useless qualified this usage in the same class. |
3 |
300 |