PMD Results
The following document contains the results of PMD 4.2.5.
Files
cz/cuni/amis/pogamut/ut2004/tournament/UT2004Ini.java
Violation | Line |
---|
Avoid unused imports such as 'java.net.URISyntaxException' | 5 |
cz/cuni/amis/pogamut/ut2004/tournament/UT2004MatchConsole.java
Violation | Line |
---|
Avoid unused private fields such as 'bot1JarFile'. | 213 |
Avoid unused private fields such as 'bot2JarFile'. | 215 |
cz/cuni/amis/pogamut/ut2004/tournament/botexecution/UT2004BotExecution.java
Violation | Line |
---|
Avoid returning from a finally block | 110 |
Avoid empty catch blocks | 253 - 254 |
Avoid empty catch blocks | 263 - 264 |
Avoid empty catch blocks | 272 - 273 |
Avoid empty catch blocks | 282 - 283 |
Avoid empty catch blocks | 293 - 294 |
cz/cuni/amis/pogamut/ut2004/tournament/capturetheflag/UT2004CaptureTheFlag.java
Violation | Line |
---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectEventListener' | 22 |
Avoid unused imports such as 'cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectUpdatedEvent' | 24 |
Avoid unused local variables such as 'exception'. | 84 |
Avoid empty catch blocks | 231 - 232 |
Avoid empty catch blocks | 235 - 236 |
Avoid empty catch blocks | 407 - 408 |
Avoid empty catch blocks | 452 - 453 |
Avoid empty catch blocks | 512 - 513 |
Avoid empty catch blocks | 539 - 540 |
Avoid empty catch blocks | 625 - 626 |
Avoid empty catch blocks | 633 - 634 |
Avoid empty catch blocks | 637 - 638 |
Avoid empty catch blocks | 645 - 646 |
Avoid empty catch blocks | 649 - 650 |
Avoid empty catch blocks | 657 - 658 |
Avoid empty catch blocks | 662 - 663 |
Avoid empty catch blocks | 669 - 670 |
Avoid empty catch blocks | 674 - 675 |
Avoid empty catch blocks | 683 - 684 |
Avoid empty catch blocks | 687 - 688 |
Avoid empty catch blocks | 694 - 695 |
Avoid empty catch blocks | 700 - 701 |
Avoid empty catch blocks | 711 - 712 |
Avoid empty catch blocks | 715 - 717 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch.java
Violation | Line |
---|
Avoid unused local variables such as 'exception'. | 80 |
Avoid empty catch blocks | 204 - 205 |
Avoid empty catch blocks | 208 - 209 |
Avoid empty catch blocks | 388 - 389 |
Avoid empty catch blocks | 459 - 460 |
Avoid empty catch blocks | 486 - 487 |
Avoid empty catch blocks | 573 - 574 |
Avoid empty catch blocks | 581 - 582 |
Avoid empty catch blocks | 585 - 586 |
Avoid empty catch blocks | 593 - 594 |
Avoid empty catch blocks | 597 - 598 |
Avoid empty catch blocks | 605 - 606 |
Avoid empty catch blocks | 610 - 611 |
Avoid empty catch blocks | 617 - 618 |
Avoid empty catch blocks | 622 - 623 |
Avoid empty catch blocks | 631 - 632 |
Avoid empty catch blocks | 635 - 636 |
Avoid empty catch blocks | 642 - 643 |
Avoid empty catch blocks | 648 - 649 |
Avoid empty catch blocks | 659 - 660 |
Avoid empty catch blocks | 663 - 665 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch1v1.java
Violation | Line |
---|
Avoid empty catch blocks | 447 - 448 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchRepeater.java
Violation | Line |
---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004Match' | 18 |
Avoid unused local variables such as 'token'. | 205 |
Avoid unused local variables such as 'totalKilled'. | 252 |
Avoid empty catch blocks | 334 - 335 |
Avoid empty catch blocks | 384 - 385 |
Avoid empty catch blocks | 420 - 421 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchResult.java
Violation | Line |
---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.tournament.match.result.UT2004MatchResult' | 11 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchTournament.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.Collections' | 4 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchTournamentConfig.java
Violation | Line |
---|
Avoid empty catch blocks | 310 - 311 |
cz/cuni/amis/pogamut/ut2004/tournament/generator/UT2004DMTableGenerator.java
Violation | Line |
---|
These nested if statements could be combined | 41 - 50 |
These nested if statements could be combined | 143 - 145 |
cz/cuni/amis/pogamut/ut2004/tournament/match/UT2004Match.java
Violation | Line |
---|
Avoid empty catch blocks | 984 - 985 |
Avoid empty if statements | 1117 - 1119 |
These nested if statements could be combined | 1117 - 1119 |
These nested if statements could be combined | 1298 - 1300 |
These nested if statements could be combined | 1445 - 1447 |
Avoid empty catch blocks | 1480 - 1481 |
Avoid empty catch blocks | 1484 - 1485 |
Avoid empty catch blocks | 1492 - 1493 |
Avoid empty catch blocks | 1496 - 1497 |
Avoid empty catch blocks | 1504 - 1505 |
Avoid empty catch blocks | 1510 - 1511 |
Avoid empty catch blocks | 1518 - 1519 |
Avoid empty catch blocks | 1524 - 1525 |
Avoid empty catch blocks | 1534 - 1535 |
Avoid empty catch blocks | 1538 - 1539 |
cz/cuni/amis/pogamut/ut2004/tournament/teamdeathmatch/UT2004TeamDeathMatch.java
Violation | Line |
---|
Avoid unused local variables such as 'exception'. | 82 |
Avoid empty catch blocks | 229 - 230 |
Avoid empty catch blocks | 233 - 234 |
Avoid empty catch blocks | 405 - 406 |
Avoid empty catch blocks | 450 - 451 |
Avoid empty catch blocks | 510 - 511 |
Avoid empty catch blocks | 537 - 538 |
Avoid empty catch blocks | 623 - 624 |
Avoid empty catch blocks | 631 - 632 |
Avoid empty catch blocks | 635 - 636 |
Avoid empty catch blocks | 643 - 644 |
Avoid empty catch blocks | 647 - 648 |
Avoid empty catch blocks | 655 - 656 |
Avoid empty catch blocks | 660 - 661 |
Avoid empty catch blocks | 667 - 668 |
Avoid empty catch blocks | 672 - 673 |
Avoid empty catch blocks | 681 - 682 |
Avoid empty catch blocks | 685 - 686 |
Avoid empty catch blocks | 692 - 693 |
Avoid empty catch blocks | 698 - 699 |
Avoid empty catch blocks | 709 - 710 |
Avoid empty catch blocks | 713 - 715 |