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 177181
Avoid modifiers which are implied by the context 3 188192

org/opentrafficsim/swing/gui/OTSAnimationPanel.java

Violation Priority Line
Avoid empty try blocks 3 597599
Avoid empty catch blocks 3 600603
These nested if statements could be combined 3 10171020

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 137140

org/opentrafficsim/swing/script/AbstractSimulationScript.java

Violation Priority Line
Useless qualified this usage in the same class. 3 261
Useless qualified this usage in the same class. 3 261
Useless qualified this usage in the same class. 3 272
Useless qualified this usage in the same class. 3 281