PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/opentrafficsim/road/network/factory/xml/ArcTag.java

Violation Priority Line
Useless parentheses. 4 87

org/opentrafficsim/road/network/factory/xml/CrossSectionElementTag.java

Violation Priority Line
Useless parentheses. 4 492
Useless parentheses. 4 493

org/opentrafficsim/road/network/factory/xml/FillTag.java

Violation Priority Line
Avoid unused local variables such as 'lane'. 3 215
Avoid unused local variables such as 'gtuClass'. 3 216
Avoid unused local variables such as 'rg'. 3 222

org/opentrafficsim/road/network/factory/xml/Links.java

Violation Priority Line
Useless parentheses. 4 424
Useless parentheses. 4 432
Useless parentheses. 4 437
Useless parentheses. 4 440
These nested if statements could be combined 3 658661
These nested if statements could be combined 3 778779
These nested if statements could be combined 3 802803

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

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

org/opentrafficsim/road/network/factory/xml/XmlNetworkLaneParser.java

Violation Priority Line
Avoid empty if statements 3 358360
Avoid unused private methods such as 'fixOD(OTSNetwork)'. 3 405
Useless parentheses. 4 465

org/opentrafficsim/road/network/factory/xml/demand/XmlOdParser.java

Violation Priority Line
Useless parentheses. 4 377
Useless parentheses. 4 380