PMD Results
The following document contains the results of PMD 5.3.5.
Files
org/opentrafficsim/road/network/factory/vissim/ArcTag.java
| Violation |
Line |
| Useless parentheses. |
86 |
org/opentrafficsim/road/network/factory/vissim/CrossSectionElementTag.java
| Violation |
Line |
| Avoid empty if statements |
259–261 |
org/opentrafficsim/road/network/factory/vissim/FillTag.java
| Violation |
Line |
| Avoid unused local variables such as 'lane'. |
222 |
| Avoid unused local variables such as 'gtuClass'. |
223 |
| Avoid unused local variables such as 'rg'. |
228 |
org/opentrafficsim/road/network/factory/vissim/LinkTag.java
| Violation |
Line |
| Useless parentheses. |
454 |
| Useless parentheses. |
487 |
| Useless parentheses. |
513 |
org/opentrafficsim/road/network/factory/vissim/Links.java
| Violation |
Line |
| Avoid unused local variables such as 'lengthSI'. |
140 |
| Useless parentheses. |
348 |
org/opentrafficsim/road/network/factory/vissim/NodeTag.java
| Violation |
Line |
| These nested if statements could be combined |
157–159 |
| Avoid unused local variables such as 'connectoTagValues'. |
191 |
org/opentrafficsim/road/network/factory/vissim/SubstringLine.java
| Violation |
Line |
| Avoid unused local variables such as 'started'. |
83 |
org/opentrafficsim/road/network/factory/vissim/TestVissimParser.java
| Violation |
Line |
| Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' |
92 |
| Avoid unused local variables such as 'inputFile'. |
137 |
| These nested if statements could be combined |
170–172 |
org/opentrafficsim/road/network/factory/vissim/XMLParser.java
| Violation |
Line |
| These nested if statements could be combined |
40–43 |