PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/opentrafficsim/draw/core/TextAnimation.java

Violation Priority Line
Useless parentheses. 4 421

org/opentrafficsim/draw/factory/DefaultAnimationFactory.java

Violation Priority Line
Avoid empty if statements 3 229231

org/opentrafficsim/draw/graphs/AbstractPlot.java

Violation Priority Line
Unnecessary use of fully qualified name 'java.awt.Font.BOLD' due to existing import 'java.awt.Font' 4 149
These nested if statements could be combined 3 225228

org/opentrafficsim/draw/graphs/ContourDataSource.java

Violation Priority Line
Useless qualified this usage in the same class. 3 400
Useless qualified this usage in the same class. 3 408
Useless qualified this usage in the same class. 3 430
Useless qualified this usage in the same class. 3 450
Useless qualified this usage in the same class. 3 784
Useless qualified this usage in the same class. 3 785
Useless qualified this usage in the same class. 3 890

org/opentrafficsim/draw/graphs/FundamentalDiagram.java

Violation Priority Line
Useless parentheses. 4 252
Useless parentheses. 4 358

org/opentrafficsim/draw/gtu/DefaultCarAnimation.java

Violation Priority Line
Overriding method merely calls super 3 253257

org/opentrafficsim/draw/network/OTSNetworkAnimationUtils.java

Violation Priority Line
Avoid empty catch blocks 3 149152