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/GeneratorTag.java

Violation Priority Line
Avoid unused local variables such as 'generator'. 3 362

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

Violation Priority Line
Useless parentheses. 4 419
Useless parentheses. 4 427
Useless parentheses. 4 432
Useless parentheses. 4 435
These nested if statements could be combined 3 602605
These nested if statements could be combined 3 722723
These nested if statements could be combined 3 746747

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

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

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 404
Useless parentheses. 4 464

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

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