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 159
Useless parentheses. 4 399
Avoid unused local variables such as 'linkDirection'. 3 489
Avoid unused local variables such as 'color'. 3 500
Avoid unused local variables such as 'color'. 3 613

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

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

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/XMLParser.java

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