PMD Results
The following document contains the results of PMD 4.2.5.
Files
cz/cuni/amis/pogamut/ut2004/tournament/GameBots2004Ini.java
Violation | Line |
---|
Avoid unused imports such as 'java.net.URISyntaxException' | 5 |
cz/cuni/amis/pogamut/ut2004/tournament/UT2004DeathMatchConsole.java
Violation | Line |
---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.tournament.deathmatch.UT2004DeathMatch1v1' | 22 |
Avoid unused private fields such as 'bot1JarFile'. | 104 |
Avoid unused private fields such as 'bot2JarFile'. | 106 |
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/botexecution/UT2004BotExecution.java
Violation | Line |
---|
Avoid returning from a finally block | 110 |
Avoid empty catch blocks | 255 - 256 |
Avoid empty catch blocks | 265 - 266 |
Avoid empty catch blocks | 274 - 275 |
Avoid empty catch blocks | 284 - 285 |
Avoid empty catch blocks | 295 - 296 |
cz/cuni/amis/pogamut/ut2004/tournament/capturetheflag/UT2004CaptureTheFlag.java
Violation | Line |
---|
Avoid unused local variables such as 'exception'. | 80 |
Avoid empty catch blocks | 219 - 220 |
Avoid empty catch blocks | 223 - 224 |
Avoid empty catch blocks | 394 - 395 |
Avoid empty catch blocks | 439 - 440 |
Avoid empty catch blocks | 490 - 491 |
Avoid empty catch blocks | 517 - 518 |
Avoid empty catch blocks | 590 - 591 |
Avoid empty catch blocks | 598 - 599 |
Avoid empty catch blocks | 602 - 603 |
Avoid empty catch blocks | 610 - 611 |
Avoid empty catch blocks | 614 - 615 |
Avoid empty catch blocks | 622 - 623 |
Avoid empty catch blocks | 627 - 628 |
Avoid empty catch blocks | 634 - 635 |
Avoid empty catch blocks | 639 - 640 |
Avoid empty catch blocks | 648 - 649 |
Avoid empty catch blocks | 652 - 653 |
Avoid empty catch blocks | 659 - 660 |
Avoid empty catch blocks | 670 - 671 |
Avoid empty catch blocks | 674 - 676 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch.java
Violation | Line |
---|
Avoid unused local variables such as 'exception'. | 79 |
Avoid empty catch blocks | 203 - 204 |
Avoid empty catch blocks | 207 - 208 |
Avoid empty catch blocks | 401 - 402 |
Avoid empty catch blocks | 463 - 464 |
Avoid empty catch blocks | 490 - 491 |
Avoid empty catch blocks | 571 - 572 |
Avoid empty catch blocks | 579 - 580 |
Avoid empty catch blocks | 583 - 584 |
Avoid empty catch blocks | 591 - 592 |
Avoid empty catch blocks | 595 - 596 |
Avoid empty catch blocks | 603 - 604 |
Avoid empty catch blocks | 608 - 609 |
Avoid empty catch blocks | 615 - 616 |
Avoid empty catch blocks | 620 - 621 |
Avoid empty catch blocks | 629 - 630 |
Avoid empty catch blocks | 633 - 634 |
Avoid empty catch blocks | 640 - 641 |
Avoid empty catch blocks | 651 - 652 |
Avoid empty catch blocks | 655 - 657 |
cz/cuni/amis/pogamut/ut2004/tournament/deathmatch/UT2004DeathMatch1v1.java
Violation | Line |
---|
Avoid empty catch blocks | 346 - 347 |
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 unused constructor parameters such as 'teamMatch'. | 96 - 102 |
Avoid empty catch blocks | 819 - 820 |
These nested if statements could be combined | 987 - 989 |
These nested if statements could be combined | 1103 - 1105 |
Avoid empty catch blocks | 1138 - 1139 |
Avoid empty catch blocks | 1142 - 1143 |
Avoid empty catch blocks | 1150 - 1151 |
Avoid empty catch blocks | 1154 - 1155 |
Avoid empty catch blocks | 1162 - 1163 |
Avoid empty catch blocks | 1168 - 1169 |
Avoid empty catch blocks | 1176 - 1177 |
Avoid empty catch blocks | 1182 - 1183 |
Avoid empty catch blocks | 1192 - 1193 |
Avoid empty catch blocks | 1196 - 1197 |
cz/cuni/amis/pogamut/ut2004/tournament/match/result/UT2004TeamMatchResult.java
Violation | Line |
---|
Avoid unused imports such as 'cz.cuni.amis.utils.token.IToken' | 3 |