The following document contains the results of PMD 6.4.0.
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 287 |
| Useless parentheses. | 4 | 287 |
| Useless parentheses. | 4 | 288 |
| Useless parentheses. | 4 | 288 |
| These nested if statements could be combined | 3 | 356–376 |
| These nested if statements could be combined | 3 | 416–436 |
| Violation | Priority | Line |
|---|---|---|
| Avoid empty catch blocks | 3 | 54–57 |
| Violation | Priority | Line |
|---|---|---|
| Avoid empty catch blocks | 3 | 294–297 |
| Useless parentheses. | 4 | 857 |
| Useless parentheses. | 4 | 1066 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 291 |
| Violation | Priority | Line |
|---|---|---|
| Avoid modifiers which are implied by the context | 3 | 104–116 |
| Violation | Priority | Line |
|---|---|---|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 2 | 1383 |
| Avoid empty catch blocks | 3 | 1480–1483 |
| Avoid empty catch blocks | 3 | 1496–1499 |
| Violation | Priority | Line |
|---|---|---|
| Ternary operators that can be simplified with || or && | 3 | 96 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 44 |
| Violation | Priority | Line |
|---|---|---|
| Useless qualified this usage in the same class. | 3 | 125 |
| Useless qualified this usage in the same class. | 3 | 127 |
| Useless qualified this usage in the same class. | 3 | 128 |
| Useless qualified this usage in the same class. | 3 | 132 |
| Useless qualified this usage in the same class. | 3 | 133 |
| Useless qualified this usage in the same class. | 3 | 246 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 104 |
| These nested if statements could be combined | 3 | 122–126 |
| Violation | Priority | Line |
|---|---|---|
| Avoid modifiers which are implied by the context | 3 | 63–82 |
| Avoid modifiers which are implied by the context | 3 | 98–108 |
| Avoid modifiers which are implied by the context | 3 | 124–132 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 461 |
| Useless parentheses. | 4 | 1256 |
| Useless parentheses. | 4 | 1257 |
| Useless parentheses. | 4 | 1344 |
| Useless parentheses. | 4 | 1345 |
| Useless parentheses. | 4 | 1428 |
| Useless parentheses. | 4 | 1429 |
| Useless parentheses. | 4 | 1458 |
| Useless parentheses. | 4 | 1459 |
| Violation | Priority | Line |
|---|---|---|
| These nested if statements could be combined | 3 | 341–347 |
| Useless parentheses. | 4 | 341–342 |
| Useless parentheses. | 4 | 343–344 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 76 |
| Violation | Priority | Line |
|---|---|---|
| These nested if statements could be combined | 3 | 749–752 |
| These nested if statements could be combined | 3 | 883–900 |
| Useless parentheses. | 4 | 952 |
| Useless parentheses. | 4 | 952 |
| Useless parentheses. | 4 | 953 |
| Useless parentheses. | 4 | 953 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 411 |
| Useless parentheses. | 4 | 411 |
| Useless parentheses. | 4 | 426 |
| Useless parentheses. | 4 | 426 |
| Useless parentheses. | 4 | 439 |
| Useless parentheses. | 4 | 439 |
| Useless parentheses. | 4 | 443 |
| Useless parentheses. | 4 | 443 |
| Useless parentheses. | 4 | 454 |
| Useless parentheses. | 4 | 454 |
| Useless parentheses. | 4 | 653 |
| Useless parentheses. | 4 | 654 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused method parameters such as 'context'. | 3 | 126 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 266–267 |
| Useless parentheses. | 4 | 268–269 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 211 |
| Violation | Priority | Line |
|---|---|---|
| Overriding method merely calls super | 3 | 35–38 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 46 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 88 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 41 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 166 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 63 |
| Useless parentheses. | 4 | 154 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 380 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 384 |
| Avoid unused method parameters such as 'gtu'. | 3 | 421 |
| Avoid unused method parameters such as 'startSpeed'. | 3 | 457 |
| Useless parentheses. | 4 | 514 |
| Useless parentheses. | 4 | 514 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused local variables such as 'currentLaneFine'. | 3 | 150 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 236 |
| These nested if statements could be combined | 3 | 238–245 |
| Useless parentheses. | 4 | 266 |
| Avoid unused method parameters such as 'perception'. | 3 | 508 |
| Avoid unused method parameters such as 'lanePathInfo'. | 3 | 508 |
| Useless parentheses. | 4 | 629 |
| Violation | Priority | Line |
|---|---|---|
| These nested if statements could be combined | 3 | 70–79 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 90 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 160 |
| Useless parentheses. | 4 | 161–162 |
| Avoid unused method parameters such as 'gtu'. | 3 | 714 |
| Violation | Priority | Line |
|---|---|---|
| These nested if statements could be combined | 3 | 483–499 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused local variables such as 'speed'. | 3 | 94 |
| Avoid unused local variables such as 'realPlan'. | 3 | 128 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 43 |
| Useless parentheses. | 4 | 44 |
| Useless parentheses. | 4 | 79 |
| Useless parentheses. | 4 | 80 |
| Avoid unused local variables such as 'b'. | 3 | 85 |
| Ternary operators that can be simplified with || or && | 3 | 93 |
| Useless parentheses. | 4 | 124 |
| Useless parentheses. | 4 | 125 |
| Violation | Priority | Line |
|---|---|---|
| Ternary operators that can be simplified with || or && | 3 | 110 |
| Violation | Priority | Line |
|---|---|---|
| These nested if statements could be combined | 3 | 184–201 |
| Useless parentheses. | 4 | 477 |
| Useless parentheses. | 4 | 478 |
| Violation | Priority | Line |
|---|---|---|
| Too many static imports may lead to messy code | 3 | 1–783 |
| Avoid unused imports such as 'org.opentrafficsim.road.gtu.lane.Break' | 4 | 30 |
| Useless parentheses. | 4 | 323 |
| Ternary operators that can be simplified with || or && | 3 | 370–371 |
| Useless parentheses. | 4 | 374–375 |
| Ternary operators that can be simplified with || or && | 3 | 387–388 |
| Useless parentheses. | 4 | 399 |
| Useless parentheses. | 4 | 683 |
| Useless parentheses. | 4 | 683 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 199 |
| Useless parentheses. | 4 | 200 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 222 |
| Useless parentheses. | 4 | 223 |
| Useless parentheses. | 4 | 238–239 |
| Useless parentheses. | 4 | 240–241 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused method parameters such as 'simulator'. | 3 | 357 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused constructor parameters such as 'newSimulator'. | 3 | 195 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 494–495 |
| Useless parentheses. | 4 | 496–497 |
| These nested if statements could be combined | 3 | 499–503 |
| Useless parentheses. | 4 | 534–535 |
| Useless parentheses. | 4 | 536–537 |
| These nested if statements could be combined | 3 | 539–543 |
| Useless parentheses. | 4 | 1472 |
| Useless parentheses. | 4 | 1473 |
| Useless parentheses. | 4 | 1500 |
| Useless parentheses. | 4 | 1501 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused constructor parameters such as 'inverted'. | 3 | 125 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 157 |
| Useless parentheses. | 4 | 158 |
| These nested if statements could be combined | 3 | 706–714 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 372 |
| Useless parentheses. | 4 | 373 |
| Useless parentheses. | 4 | 513 |
| Useless parentheses. | 4 | 513 |
| Useless parentheses. | 4 | 521 |
| Useless parentheses. | 4 | 521 |
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 111 |
| Useless parentheses. | 4 | 112 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused constructor parameters such as 'simulator'. | 3 | 63 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused constructor parameters such as 'simulator'. | 3 | 41 |
| Violation | Priority | Line |
|---|---|---|
| Avoid unused constructor parameters such as 'simulator'. | 3 | 62 |