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. |
393 |
Useless parentheses. |
401 |
Useless parentheses. |
406 |
Useless parentheses. |
409 |
These nested if statements could be combined |
629–632 |
Avoid unused local variables such as 'trafficLight'. |
681 |
These nested if statements could be combined |
752–753 |
These nested if statements could be combined |
776–777 |
org/opentrafficsim/road/network/factory/xml/NodeTag.java
Violation |
Line |
Avoid unused imports such as 'org.djunits.unit.AngleUnit' |
10 |
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 |
40–43 |