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 |
|---|---|
| Avoid unused imports such as 'org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingDirectedChangeTacticalPlanner' | 56 |
| These nested if statements could be combined | 600–603 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'sensor'. | 350 |
| Violation | Line |
|---|---|
| Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' | 273 |
| Avoid unused private fields such as 'network'. | 299 |
| Avoid unused constructor parameters such as 'properties'. | 323 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 533–534 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 297–301 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.djunits.unit.FrequencyUnit' | 14 |
| Avoid unused imports such as 'org.djunits.value.vdouble.scalar.DoubleScalar' | 16 |
| Avoid unused local variables such as 'line'. | 222 |
| Avoid unused local variables such as 'length'. | 229 |
| Avoid unused local variables such as 'linkTag'. | 234 |
| Avoid unused local variables such as 'wegtype'. | 235 |
| Avoid unused local variables such as 'typeWeg'. | 237 |
| Avoid unused local variables such as 'speed'. | 239 |
| Avoid unused local variables such as 'capacity'. | 241 |
| Avoid using a branching statement as the last in a loop. | 324 |
| Useless parentheses. | 440 |
| Avoid empty catch blocks | 472–475 |
| Useless parentheses. | 504 |
| Avoid empty catch blocks | 540–543 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'speed'. | 414 |