The following document contains the results of PMD 6.4.0.
| Violation | Priority | Line |
|---|---|---|
| Avoid unused method parameters such as 'generationSpeed'. | 3 | 353 |
| Avoid unused method parameters such as 'bcFactory'. | 3 | 356 |
| Avoid unused method parameters such as 'simulationTime'. | 3 | 357 |
| Avoid unused method parameters such as 'tacticalFactory'. | 3 | 357 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 10 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 7 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 7 |
| These nested if statements could be combined | 3 | 594–597 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 8 |
| Violation | Priority | Line |
|---|---|---|
| Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' | 4 | 271 |
| Avoid unused constructor parameters such as 'properties'. | 3 | 321 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 9 |
| Avoid unused local variables such as 'direction'. | 3 | 447 |
| Violation | Priority | Line |
|---|---|---|
| Avoid empty if statements | 3 | 324–326 |
| Avoid unused method parameters such as 'generationSpeed'. | 3 | 467 |
| Avoid unused method parameters such as 'bcFactory'. | 3 | 469 |
| Avoid unused method parameters such as 'tacticalFactory'. | 3 | 470 |
| Avoid unused method parameters such as 'simulationTime'. | 3 | 470 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 9 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 9 |
| Avoid empty if statements | 3 | 523–524 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 335 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 6 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 8 |
| Avoid unused private fields such as 'speedLimit'. | 3 | 227 |
| Avoid unused private fields such as 'strategicalPlannerGeneratorCars'. | 3 | 260 |
| Avoid unused private fields such as 'strategicalPlannerGeneratorTrucks'. | 3 | 263 |
| Avoid unused local variables such as 'laneType'. | 3 | 315 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 144 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 4 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 6 |
| Avoid empty block statements. | 3 | 160–162 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 6 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 6 |
| Avoid empty block statements. | 3 | 173–175 |
| Violation | Priority | Line |
|---|---|---|
| Avoid empty catch blocks | 3 | 196–199 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused local variables such as 'line'. | 3 | 221 |
| Avoid unused local variables such as 'length'. | 3 | 228 |
| Avoid unused local variables such as 'linkTag'. | 3 | 233 |
| Avoid unused local variables such as 'wegtype'. | 3 | 234 |
| Avoid unused local variables such as 'typeWeg'. | 3 | 236 |
| Avoid unused local variables such as 'speed'. | 3 | 238 |
| Avoid unused local variables such as 'capacity'. | 3 | 240 |
| Avoid using a branching statement as the last in a loop. | 2 | 323 |
| Avoid unused local variables such as 'dir'. | 3 | 438 |
| Useless parentheses. | 4 | 439 |
| Avoid empty catch blocks | 3 | 472–475 |
| Avoid unused local variables such as 'dir'. | 3 | 504 |
| Useless parentheses. | 4 | 505 |
| Avoid empty catch blocks | 3 | 541–544 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 3 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused method parameters such as 'speed'. | 3 | 414 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused imports such as 'java.rmi.RemoteException' | 4 | 8 |
| Avoid unused private fields such as 'timeHorizon'. | 3 | 84 |
| Avoid unused local variables such as 'key'. | 3 | 170 |
| Avoid unused local variables such as 'lane'. | 3 | 171 |
| Avoid unused local variables such as 'longitudinalPosition'. | 3 | 174 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 117 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 119 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 364 |
| Useless qualified this usage in the same class. | 3 | 989 |
| Useless qualified this usage in the same class. | 3 | 991 |
| Useless qualified this usage in the same class. | 3 | 995 |
| Useless qualified this usage in the same class. | 3 | 1024 |
| Useless qualified this usage in the same class. | 3 | 1026 |
| Useless qualified this usage in the same class. | 3 | 1026 |
| Useless qualified this usage in the same class. | 3 | 1029 |
| Useless qualified this usage in the same class. | 3 | 1029 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 314 |