PMD Results

The following document contains the results of PMD 4.2.5.

Files

SocialSteeringsBeta/ISocialSteering.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'5

SocialSteeringsBeta/TriangleSteer.java

ViolationLine
These nested if statements could be combined36 - 39
These nested if statements could be combined235 - 238
These nested if statements could be combined280 - 283
These nested if statements could be combined331 - 334
These nested if statements could be combined382 - 385
These nested if statements could be combined433 - 436
These nested if statements could be combined465 - 470
Avoid empty if statements493 - 495
These nested if statements could be combined579 - 581

SteeringProperties/Force_packet.java

ViolationLine
These nested if statements could be combined88 - 99

SteeringProperties/PathFollowingProperties.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint'8

SteeringProperties/PeopleAvoidanceProperties.java

ViolationLine
Avoid unused constructor parameters such as 'acceleration'.65 - 73
Avoid unused constructor parameters such as 'deceleration'.65 - 73

SteeringProperties/StickToPathProperties.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.agent.module.sensor.NavigationGraphHelper'8

Steerings/LeaderFollowingSteer.java

ViolationLine
Avoid unused private fields such as 'p'.34

Steerings/ObstacleAvoidanceSteer.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'10

Steerings/PathFollowingSteer.java

ViolationLine
These nested if statements could be combined97 - 100
These nested if statements could be combined104 - 108
These nested if statements could be combined124 - 131

Steerings/StickToPathSteer.java

ViolationLine
Avoid unused imports such as 'javax.vecmath.Tuple3d'6
Avoid unused imports such as 'javax.vecmath.Vector2d'7
Avoid unused imports such as 'SteeringStuff.SteeringTools'16
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange'23
Avoid unused imports such as 'cz.cuni.amis.utils.future.FutureStatus'27
Avoid unused private fields such as 'NEARLY_THERE_DISTANCE'.38
Avoid unused method parameters such as 'nextLink'.114 - 138

Steerings/TargetApproachingSteer.java

ViolationLine
Avoid unused imports such as 'SteeringStuff.SteeringManager'4

Steerings/WalkAlongSteer.java

ViolationLine
These nested if statements could be combined288 - 296
These nested if statements could be combined305 - 308
These nested if statements could be combined320 - 323

Steerings/WallFollowingSteer.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'10
Avoid empty if statements195 - 197
These nested if statements could be combined269 - 298
These nested if statements could be combined305 - 307
These nested if statements could be combined487 - 518
These nested if statements could be combined534 - 543
These nested if statements could be combined569 - 583

SteeringStuff/ISteering.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'5

SteeringStuff/RaycastingManager.java

ViolationLine
Avoid unused private fields such as 'botself'.16

SteeringStuff/SteeringManager.java

ViolationLine
Avoid empty if statements155 - 157

SteeringStuff/SteeringTools.java

ViolationLine
These nested if statements could be combined137 - 145