PMD Results

The following document contains the results of PMD 6.4.0.

Files

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

Violation Priority Line
Useless parentheses. 4 93

org/opentrafficsim/road/network/factory/vissim/CrossSectionElementTag.java

Violation Priority Line
Avoid empty if statements 3 301303

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

Violation Priority Line
Avoid unused local variables such as 'lane'. 3 247
Avoid unused local variables such as 'gtuClass'. 3 248
Avoid unused local variables such as 'rg'. 3 254

org/opentrafficsim/road/network/factory/vissim/LinkTag.java

Violation Priority Line
Useless parentheses. 4 495
Useless parentheses. 4 537
Useless parentheses. 4 572

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

Violation Priority Line
Avoid unused local variables such as 'lengthSI'. 3 161
Useless parentheses. 4 401
Avoid unused local variables such as 'linkDirection'. 3 491

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

Violation Priority Line
These nested if statements could be combined 3 178181
Avoid unused local variables such as 'connectoTagValues'. 3 221

org/opentrafficsim/road/network/factory/vissim/SubstringLine.java

Violation Priority Line
Avoid unused local variables such as 'started'. 3 92

org/opentrafficsim/road/network/factory/vissim/TestVissimParser.java

Violation Priority Line
Avoid unnecessary return statements 3 89
Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' 4 101
These nested if statements could be combined 3 207210

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

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