The following document contains the results of PMD 5.3.5.
Violation | Line |
---|---|
Unnecessary use of fully qualified name 'org.djunits.value.vdouble.scalar.Length' due to existing import 'org.djunits.value.vdouble.scalar.Length' | 33 |
Violation | Line |
---|---|
These nested if statements could be combined | 619–622 |
Violation | Line |
---|---|
These nested if statements could be combined | 624–627 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.lang.reflect.Field' | 3 |
Avoid unused imports such as 'java.util.Set' | 4 |
Avoid unused imports such as 'nl.tudelft.simulation.language.reflection.ClassUtil' | 6 |
Avoid unused imports such as 'org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType' | 12 |
Avoid unused imports such as 'org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeBoolean' | 13 |
Avoid unused imports such as 'org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble' | 14 |
Avoid unused imports such as 'org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeInteger' | 15 |
Violation | Line |
---|---|
Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' | 275 |
Avoid unused private fields such as 'network'. | 301 |
Avoid unused constructor parameters such as 'properties'. | 325 |
Violation | Line |
---|---|
Avoid empty if statements | 539–540 |
Violation | Line |
---|---|
Avoid empty if statements | 297–301 |
Violation | Line |
---|---|
Avoid unused local variables such as 'line'. | 219 |
Avoid unused local variables such as 'length'. | 226 |
Avoid unused local variables such as 'linkTag'. | 231 |
Avoid unused local variables such as 'wegtype'. | 232 |
Avoid unused local variables such as 'typeWeg'. | 234 |
Avoid unused local variables such as 'speed'. | 236 |
Avoid unused local variables such as 'capacity'. | 238 |
Avoid using a branching statement as the last in a loop. | 323 |
Useless parentheses. | 440 |
Avoid empty catch blocks | 476–479 |
Useless parentheses. | 508 |
Avoid empty catch blocks | 546–549 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'speed'. | 431 |