PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/opentrafficsim/road/network/factory/opendrive/Controller.java

Violation Priority Line
Avoid empty if statements 3 6668

org/opentrafficsim/road/network/factory/opendrive/LaneSectionTag.java

Violation Priority Line
These nested if statements could be combined 3 117118

org/opentrafficsim/road/network/factory/opendrive/LaneTag.java

Violation Priority Line
Avoid unused local variables such as 'attributes1'. 3 94

org/opentrafficsim/road/network/factory/opendrive/OpenDriveNetworkLaneParser.java

Violation Priority Line
Avoid unused private methods such as 'makeNetwork(String)'. 3 217

org/opentrafficsim/road/network/factory/opendrive/PlanViewTag.java

Violation Priority Line
Avoid unused method parameters such as 'parser'. 3 147
Avoid unused method parameters such as 'planViewTag'. 3 147
Avoid unused method parameters such as 'geometryCount'. 3 148
Avoid unused local variables such as 'startCurvature'. 3 150
Avoid unused local variables such as 'endCurvature'. 3 151
Avoid unused local variables such as 'start'. 3 152
Avoid unused local variables such as 'length'. 3 153
Avoid unused local variables such as 'otsLine'. 3 175
Avoid unused method parameters such as 'roadTag'. 3 188
Avoid unused local variables such as 'length'. 3 195
Avoid unused local variables such as 'mPoint'. 3 235
Useless parentheses. 4 286
Useless parentheses. 4 286
Useless parentheses. 4 286
Useless parentheses. 4 287
Useless parentheses. 4 296
Useless parentheses. 4 296
Useless parentheses. 4 296
Useless parentheses. 4 297
Useless parentheses. 4 305
Useless parentheses. 4 305
Useless parentheses. 4 305
Useless parentheses. 4 306
Avoid unused local variables such as 'flipped'. 3 321
These nested if statements could be combined 3 324331

org/opentrafficsim/road/network/factory/opendrive/RoadTag.java

Violation Priority Line
Avoid unused local variables such as 'direction'. 3 544
Unnecessary use of fully qualified name 'org.opentrafficsim.draw.network.LinkAnimation' due to existing import 'org.opentrafficsim.draw.network.LinkAnimation' 4 565
Avoid empty if statements 3 970972
Avoid empty if statements 3 10331035

org/opentrafficsim/road/network/factory/opendrive/WidthTag.java

Violation Priority Line
Avoid unused local variables such as 'widthCount'. 3 59

org/opentrafficsim/road/network/factory/opendrive/XMLParser.java

Violation Priority Line
These nested if statements could be combined 3 4043