PMD Results

The following document contains the results of PMD 3.7.

Files

org/apache/geronimo/deployment/cli/DeployUtils.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'23
Avoid unused imports such as 'java.util.LinkedList'24
Avoid unused imports such as 'java.util.List'25
Avoid unused imports such as 'javax.enterprise.deploy.spi.TargetModuleID'26
Avoid unused imports such as 'org.apache.geronimo.common.DeploymentException'27
Avoid unused imports such as 'org.apache.geronimo.kernel.repository.Artifact'29

org/apache/geronimo/deployment/cli/AbstractCommand.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'33
Avoid unused imports such as 'java.util.LinkedList'34
Avoid unnecessary return statements112

org/apache/geronimo/deployment/cli/CommandLogin.java

ViolationLine
These nested if statements could be combined64 - 66

org/apache/geronimo/deployment/cli/ServerConnection.java

ViolationLine
Avoid empty catch blocks250 - 252
Avoid empty catch blocks280 - 282
Avoid unused private fields such as 'uri'359
Avoid unused private fields such as 'user'360
Avoid unused private fields such as 'password'361

org/apache/geronimo/deployment/cli/CommandStop.java

ViolationLine
Avoid unused imports such as 'org.apache.geronimo.common.DeploymentException'20

org/apache/geronimo/deployment/PluginBootstrap.java

ViolationLine
Avoid empty catch blocks97 - 99

org/apache/geronimo/deployment/PluginBootstrap2.java

ViolationLine
Avoid empty catch blocks123 - 125