PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/opentrafficsim/trafficcontrol/TrafficController.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 27
Avoid modifiers which are implied by the context 3 34
Avoid modifiers which are implied by the context 3 37
Avoid modifiers which are implied by the context 3 40
Avoid modifiers which are implied by the context 3 43
Avoid modifiers which are implied by the context 3 46
Avoid modifiers which are implied by the context 3 49
Avoid modifiers which are implied by the context 3 52
Avoid modifiers which are implied by the context 3 84

org/opentrafficsim/trafficcontrol/ccol/CCOL.java

Violation Priority Line
Avoid unused constructor parameters such as 'trafficLights'. 3 87
Avoid unused constructor parameters such as 'sensors'. 3 88

org/opentrafficsim/trafficcontrol/trafcod/Diagram.java

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

org/opentrafficsim/trafficcontrol/trafcod/TrafCOD.java

Violation Priority Line
Avoid unused constructor parameters such as 'display'. 3 229
Useless parentheses. 4 476
Useless parentheses. 4 476
Useless parentheses. 4 492
Useless parentheses. 4 492
Useless parentheses. 4 1658
Useless parentheses. 4 1745
Useless parentheses. 4 2010
Useless parentheses. 4 2760