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 | 115 |
Useless qualified this usage in the same class. | 3 | 117 |
Useless qualified this usage in the same class. | 3 | 118 |
Useless qualified this usage in the same class. | 3 | 122 |
Useless qualified this usage in the same class. | 3 | 123 |
Useless qualified this usage in the same class. | 3 | 232 |
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 | 75 |
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 | 421 |
Useless parentheses. | 4 | 421 |
Useless parentheses. | 4 | 436 |
Useless parentheses. | 4 | 436 |
Useless parentheses. | 4 | 449 |
Useless parentheses. | 4 | 449 |
Useless parentheses. | 4 | 453 |
Useless parentheses. | 4 | 453 |
Useless parentheses. | 4 | 464 |
Useless parentheses. | 4 | 464 |
Useless parentheses. | 4 | 663 |
Useless parentheses. | 4 | 664 |
Violation | Priority | Line |
---|---|---|
Ternary operators that can be simplified with || or && | 3 | 305 |
Ternary operators that can be simplified with || or && | 3 | 312 |
Violation | Priority | Line |
---|---|---|
Avoid unused local variables such as 'perc'. | 3 | 256 |
Avoid empty catch blocks | 3 | 299–302 |
Avoid empty catch blocks | 3 | 336–339 |
Avoid unused method parameters such as 'egoSpeed'. | 3 | 408 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 345–346 |
Useless parentheses. | 4 | 347–348 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 212 |
Violation | Priority | Line |
---|---|---|
Avoid unused private fields such as 'nFollowers'. | 3 | 41 |
Avoid unused private fields such as 'nLeaders'. | 3 | 44 |
Avoid unused private fields such as 'headwayGtuType'. | 3 | 62 |
Avoid unused local variables such as 'lane'. | 3 | 91 |
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 | 55 |
Useless parentheses. | 4 | 146 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 380 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 370 |
Avoid unused method parameters such as 'gtu'. | 3 | 407 |
Avoid unused method parameters such as 'startSpeed'. | 3 | 443 |
Useless parentheses. | 4 | 500 |
Useless parentheses. | 4 | 500 |
Violation | Priority | Line |
---|---|---|
Avoid unused local variables such as 'currentLaneFine'. | 3 | 154 |
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 | 161 |
Useless parentheses. | 4 | 162–163 |
Avoid unused method parameters such as 'gtu'. | 3 | 715 |
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 | 41 |
Useless parentheses. | 4 | 42 |
Useless parentheses. | 4 | 77 |
Useless parentheses. | 4 | 78 |
Useless parentheses. | 4 | 121 |
Useless parentheses. | 4 | 122 |
Violation | Priority | Line |
---|---|---|
Ternary operators that can be simplified with || or && | 3 | 107 |
Violation | Priority | Line |
---|---|---|
These nested if statements could be combined | 3 | 176–193 |
Useless parentheses. | 4 | 469 |
Useless parentheses. | 4 | 470 |
Violation | Priority | Line |
---|---|---|
Too many static imports may lead to messy code | 3 | 1–785 |
Useless parentheses. | 4 | 325 |
Ternary operators that can be simplified with || or && | 3 | 372–373 |
Useless parentheses. | 4 | 376–377 |
Ternary operators that can be simplified with || or && | 3 | 389–390 |
Useless parentheses. | 4 | 401 |
Useless parentheses. | 4 | 685 |
Useless parentheses. | 4 | 685 |
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 | 517–518 |
Useless parentheses. | 4 | 587–588 |
Useless parentheses. | 4 | 588 |
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 |