The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
Avoid unused private fields such as 'initedLatch'. | 37 |
Violation | Line |
---|---|
Avoid unused private methods such as 'firstGameLogicWorker()'. | 171 |
Violation | Line |
---|---|
Avoid unused private methods such as 'populatePoints()'. | 332 |
Unnecessary final modifier in final class | 891 - 893 |
Unnecessary final modifier in final class | 895 - 897 |
Unnecessary final modifier in final class | 899 - 901 |
Unnecessary final modifier in final class | 903 - 905 |
An empty statement (semicolon) not part of a loop | 1012 |
Violation | Line |
---|---|
Avoid unnecessary return statements | 30 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 33 |
Avoid unused private fields such as 'eventBus'. | 35 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 16 |
Avoid unused constructor parameters such as 'original'. | 44 - 45 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 16 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent' | 3 |
Violation | Line |
---|---|
Avoid unused imports such as 'javabot.PogamutJBotSupport' | 19 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation' | 14 |
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 17 |
Violation | Line |
---|---|
Avoid unused private fields such as 'controller'. | 54 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 32 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Map' | 3 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 111 |
Violation | Line |
---|---|
Avoid unused private fields such as 'mapInfo'. | 27 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'flag'. | 617 - 639 |
Avoid unused method parameters such as 'flag'. | 641 - 708 |
Ensure you override both equals() and hashCode() | 811 |
Avoid unused private methods such as 'simplifyPoly(LinkedList)'. | 1094 - 1095 |
Avoid unused private methods such as 'mathModulus(float,float)'. | 1273 |
Avoid unused private methods such as 'checkAndJoinBordersOnSeam(List,List)'. | 1277 - 1278 |
Avoid unused method parameters such as 'borderA'. | 1277 - 1283 |
Avoid unused method parameters such as 'borderB'. | 1277 - 1283 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent' | 5 |
Violation | Line |
---|---|
Avoid unused local variables such as 'polygons'. | 146 |
This usage of the Collection.toArray() method will throw a ClassCastException. | 246 |
Avoid unused local variables such as 'm'. | 296 |
Avoid unused private methods such as 'checkDirection2(Location,Location,Location)'. | 331 |
Violation | Line |
---|---|
These nested if statements could be combined | 443 - 450 |
These nested if statements could be combined | 446 - 449 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Map.Entry' | 4 |
Avoid unused private fields such as 'log'. | 24 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 17 |
Violation | Line |
---|---|
Avoid unused private fields such as 'tree'. | 17 |
Avoid unused private fields such as 'node'. | 18 |
Avoid unused private fields such as 'finished'. | 20 |
Violation | Line |
---|---|
Avoid unused private fields such as 'tree'. | 16 |
Violation | Line |
---|---|
These nested if statements could be combined | 125 - 127 |
These nested if statements could be combined | 134 - 136 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 17 |