PMD Results

The following document contains the results of PMD 4.2.5.

Files

cz/cuni/amis/pogamut/ut2004/tournament/UT2004Ini.java

ViolationLine
Avoid unused imports such as 'java.net.URISyntaxException'5

cz/cuni/amis/pogamut/ut2004/tournament/UT2004MatchConsole.java

ViolationLine
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

ViolationLine
Avoid returning from a finally block110
Avoid empty catch blocks253 - 254
Avoid empty catch blocks263 - 264
Avoid empty catch blocks272 - 273
Avoid empty catch blocks282 - 283
Avoid empty catch blocks293 - 294

cz/cuni/amis/pogamut/ut2004/tournament/capturetheflag/UT2004CaptureTheFlag.java

ViolationLine
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 blocks231 - 232
Avoid empty catch blocks235 - 236
Avoid empty catch blocks407 - 408
Avoid empty catch blocks452 - 453
Avoid empty catch blocks512 - 513
Avoid empty catch blocks539 - 540
Avoid empty catch blocks625 - 626
Avoid empty catch blocks633 - 634
Avoid empty catch blocks637 - 638
Avoid empty catch blocks645 - 646
Avoid empty catch blocks649 - 650
Avoid empty catch blocks657 - 658
Avoid empty catch blocks662 - 663
Avoid empty catch blocks669 - 670
Avoid empty catch blocks674 - 675
Avoid empty catch blocks683 - 684
Avoid empty catch blocks687 - 688
Avoid empty catch blocks694 - 695
Avoid empty catch blocks700 - 701
Avoid empty catch blocks711 - 712
Avoid empty catch blocks715 - 717

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch.java

ViolationLine
Avoid unused local variables such as 'exception'.80
Avoid empty catch blocks204 - 205
Avoid empty catch blocks208 - 209
Avoid empty catch blocks388 - 389
Avoid empty catch blocks459 - 460
Avoid empty catch blocks486 - 487
Avoid empty catch blocks573 - 574
Avoid empty catch blocks581 - 582
Avoid empty catch blocks585 - 586
Avoid empty catch blocks593 - 594
Avoid empty catch blocks597 - 598
Avoid empty catch blocks605 - 606
Avoid empty catch blocks610 - 611
Avoid empty catch blocks617 - 618
Avoid empty catch blocks622 - 623
Avoid empty catch blocks631 - 632
Avoid empty catch blocks635 - 636
Avoid empty catch blocks642 - 643
Avoid empty catch blocks648 - 649
Avoid empty catch blocks659 - 660
Avoid empty catch blocks663 - 665

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch1v1.java

ViolationLine
Avoid empty catch blocks447 - 448

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchRepeater.java

ViolationLine
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 blocks334 - 335
Avoid empty catch blocks384 - 385
Avoid empty catch blocks420 - 421

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchResult.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.tournament.match.result.UT2004MatchResult'11

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchTournament.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'4

cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatchTournamentConfig.java

ViolationLine
Avoid empty catch blocks310 - 311

cz/cuni/amis/pogamut/ut2004/tournament/generator/UT2004DMTableGenerator.java

ViolationLine
These nested if statements could be combined41 - 50
These nested if statements could be combined143 - 145

cz/cuni/amis/pogamut/ut2004/tournament/match/UT2004Match.java

ViolationLine
Avoid empty catch blocks984 - 985
Avoid empty if statements1117 - 1119
These nested if statements could be combined1117 - 1119
These nested if statements could be combined1298 - 1300
These nested if statements could be combined1445 - 1447
Avoid empty catch blocks1480 - 1481
Avoid empty catch blocks1484 - 1485
Avoid empty catch blocks1492 - 1493
Avoid empty catch blocks1496 - 1497
Avoid empty catch blocks1504 - 1505
Avoid empty catch blocks1510 - 1511
Avoid empty catch blocks1518 - 1519
Avoid empty catch blocks1524 - 1525
Avoid empty catch blocks1534 - 1535
Avoid empty catch blocks1538 - 1539

cz/cuni/amis/pogamut/ut2004/tournament/teamdeathmatch/UT2004TeamDeathMatch.java

ViolationLine
Avoid unused local variables such as 'exception'.82
Avoid empty catch blocks229 - 230
Avoid empty catch blocks233 - 234
Avoid empty catch blocks405 - 406
Avoid empty catch blocks450 - 451
Avoid empty catch blocks510 - 511
Avoid empty catch blocks537 - 538
Avoid empty catch blocks623 - 624
Avoid empty catch blocks631 - 632
Avoid empty catch blocks635 - 636
Avoid empty catch blocks643 - 644
Avoid empty catch blocks647 - 648
Avoid empty catch blocks655 - 656
Avoid empty catch blocks660 - 661
Avoid empty catch blocks667 - 668
Avoid empty catch blocks672 - 673
Avoid empty catch blocks681 - 682
Avoid empty catch blocks685 - 686
Avoid empty catch blocks692 - 693
Avoid empty catch blocks698 - 699
Avoid empty catch blocks709 - 710
Avoid empty catch blocks713 - 715