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 | 605–608 |
| Violation | Line |
|---|---|
| Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' | 273 |
| Avoid unused constructor parameters such as 'properties'. | 323 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 535–536 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 299–303 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 303–307 |
| Violation | Line |
|---|---|
| Avoid empty block statements. | 160–162 |
| Violation | Line |
|---|---|
| Avoid empty block statements. | 170–172 |
| 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 imports such as 'org.djunits.unit.TimeUnit' | 7 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'speed'. | 416 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'timeHorizon'. | 87 |
| Avoid unused local variables such as 'key'. | 175 |
| Avoid unused local variables such as 'lane'. | 176 |
| Avoid unused local variables such as 'longitudinalPosition'. | 179 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.djunits.unit.TimeUnit' | 17 |
| Avoid unused imports such as 'org.opentrafficsim.road.network.lane.object.sensor.SinkSensor' | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.djunits.unit.TimeUnit' | 28 |