PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
Avoid empty if statements 6668

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

Violation Line
These nested if statements could be combined 117118

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

Violation Line
Avoid unused local variables such as 'attributes1'. 95

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

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

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

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

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

Violation Line
Avoid empty if statements 966968
Avoid empty if statements 10291031

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

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

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

Violation Line
These nested if statements could be combined 4043