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. |
93 |
org/opentrafficsim/road/network/factory/vissim/CrossSectionElementTag.java
| Violation |
Line |
| Avoid empty if statements |
301–303 |
org/opentrafficsim/road/network/factory/vissim/FillTag.java
| Violation |
Line |
| Avoid unused local variables such as 'lane'. |
247 |
| Avoid unused local variables such as 'gtuClass'. |
248 |
| Avoid unused local variables such as 'rg'. |
254 |
org/opentrafficsim/road/network/factory/vissim/LinkTag.java
| Violation |
Line |
| Useless parentheses. |
495 |
| Useless parentheses. |
537 |
| Useless parentheses. |
572 |
org/opentrafficsim/road/network/factory/vissim/Links.java
| Violation |
Line |
| Avoid unused local variables such as 'lengthSI'. |
162 |
| Useless parentheses. |
402 |
org/opentrafficsim/road/network/factory/vissim/NodeTag.java
| Violation |
Line |
| These nested if statements could be combined |
178–181 |
| Avoid unused local variables such as 'connectoTagValues'. |
221 |
org/opentrafficsim/road/network/factory/vissim/SubstringLine.java
| Violation |
Line |
| Avoid unused local variables such as 'started'. |
92 |
org/opentrafficsim/road/network/factory/vissim/TestVissimParser.java
| Violation |
Line |
| Avoid unnecessary return statements |
90 |
| Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' |
102 |
| These nested if statements could be combined |
208–211 |
org/opentrafficsim/road/network/factory/vissim/XMLParser.java
| Violation |
Line |
| These nested if statements could be combined |
40–43 |