PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java

Violation Line
Avoid unused private methods such as 'getOverallDistributedBuildQueueByGroupAndScmRoot(int,int)'. 777
Avoid unused private methods such as 'getOverallDistributedBuildQueueByHashCode(int)'. 864

org/apache/continuum/buildmanager/ParallelBuildsManager.java

Violation Line
These nested if statements could be combined 1195 - 1199
These nested if statements could be combined 1229 - 1233

org/apache/continuum/purge/DefaultContinuumPurgeManager.java

Violation Line
Avoid unused imports such as 'org.apache.continuum.dao.ProjectDao' 23
Avoid unused imports such as 'org.apache.maven.continuum.build.settings.DefaultSchedulesActivator' 30
These nested if statements could be combined 154 - 158

org/apache/continuum/repository/DefaultRepositoryService.java

Violation Line
Avoid empty catch blocks 138 - 141
Avoid empty catch blocks 165 - 168

org/apache/continuum/taskqueue/DefaultOverallBuildQueue.java

Violation Line
These nested if statements could be combined 170 - 173
These nested if statements could be combined 379 - 382

org/apache/continuum/taskqueue/manager/DefaultTaskQueueManager.java

Violation Line
These nested if statements could be combined 134 - 138
These nested if statements could be combined 340 - 343

org/apache/maven/continuum/DefaultContinuum.java

Violation Line
Avoid unused private fields such as 'executorManager'. 220
Avoid empty catch blocks 438 - 442
Avoid empty catch blocks 1146 - 1149
These nested if statements could be combined 1531 - 1536

org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java

Violation Line
These nested if statements could be combined 112 - 120

org/apache/maven/continuum/core/action/UpdateWorkingDirectoryFromScmContinuumAction.java

Violation Line
Avoid empty catch blocks 111 - 113

org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java

Violation Line
Avoid unused local variables such as 'velocityRes'. 573
Avoid unused local variables such as 'velocityResults'. 589
These nested if statements could be combined 724 - 768
Avoid unused method parameters such as 'context'. 804 - 905