PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/jclouds/cim/xml/ResourceAllocationSettingDataHandler.java
Violation | Line |
---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 70 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 72 |
org/jclouds/cim/xml/VirtualSystemSettingDataHandler.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 124 |
org/jclouds/compute/ComputeService.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.NoSuchElementException' | 22 |
Avoid unused imports such as 'org.jclouds.compute.callables.ScriptStillRunningException' | 25 |
org/jclouds/compute/callables/BlockUntilInitScriptStatusIsZeroThenReturnOutput.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'stateRunning'. | 70 - 94 |
org/jclouds/compute/callables/RunScriptOnNodeUsingSsh.java
Violation | Line |
---|
Avoid empty if statements | 105 - 106 |
org/jclouds/compute/domain/TemplateBuilder.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.NoSuchElementException' | 21 |
org/jclouds/compute/domain/internal/TemplateBuilderImpl.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 894 |
org/jclouds/compute/internal/BaseComputeService.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 699 |
org/jclouds/compute/predicates/ImagePredicates.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 54 |
org/jclouds/compute/predicates/ScriptStatusReturnsZero.java
Violation | Line |
---|
Avoid unused private fields such as 'client'. | 66 |
org/jclouds/compute/strategy/CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 173 |
org/jclouds/compute/strategy/impl/CreateNodesWithGroupEncodedIntoNameThenAddToSet.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 172 |
org/jclouds/compute/util/ComputeServiceUtils.java
Violation | Line |
---|
Too many static imports may lead to messy code | 19 - 238 |
Avoid empty catch blocks | 218 - 219 |
org/jclouds/ovf/xml/NetworkSectionHandler.java
Violation | Line |
---|
No need to import a type that lives in the same package | 31 |
org/jclouds/ovf/xml/OperatingSystemSectionHandler.java
Violation | Line |
---|
These nested if statements could be combined | 47 - 48 |