PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
Useless parentheses. 88

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

Violation Line
Avoid unused imports such as 'org.opentrafficsim.core.network.factory.xml.units.LengthUnits' 4

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

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

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

Violation Line
Useless parentheses. 395
Useless parentheses. 403
Useless parentheses. 408
Useless parentheses. 411
These nested if statements could be combined 625628
Avoid unused local variables such as 'trafficLight'. 685
These nested if statements could be combined 756757
These nested if statements could be combined 780781

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

Violation Line
Avoid unused imports such as 'org.opentrafficsim.core.network.animation.LinkAnimation' 15

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

Violation Line
Avoid unused imports such as 'org.opentrafficsim.core.geometry.OTSLine3D' 8

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

Violation Line
These nested if statements could be combined 4043