PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/jclouds/cim/xml/ResourceAllocationSettingDataHandler.java

ViolationLine
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

ViolationLine
Too many static imports may lead to messy code19 - 124

org/jclouds/compute/ComputeService.java

ViolationLine
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

ViolationLine
Avoid unused constructor parameters such as 'stateRunning'.70 - 94

org/jclouds/compute/callables/RunScriptOnNodeUsingSsh.java

ViolationLine
Avoid empty if statements105 - 106

org/jclouds/compute/domain/TemplateBuilder.java

ViolationLine
Avoid unused imports such as 'java.util.NoSuchElementException'21

org/jclouds/compute/domain/internal/TemplateBuilderImpl.java

ViolationLine
Too many static imports may lead to messy code19 - 894

org/jclouds/compute/internal/BaseComputeService.java

ViolationLine
Too many static imports may lead to messy code19 - 699

org/jclouds/compute/predicates/ImagePredicates.java

ViolationLine
Ensure you override both equals() and hashCode()54

org/jclouds/compute/predicates/ScriptStatusReturnsZero.java

ViolationLine
Avoid unused private fields such as 'client'.66

org/jclouds/compute/strategy/CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java

ViolationLine
Too many static imports may lead to messy code19 - 173

org/jclouds/compute/strategy/impl/CreateNodesWithGroupEncodedIntoNameThenAddToSet.java

ViolationLine
Too many static imports may lead to messy code19 - 172

org/jclouds/compute/util/ComputeServiceUtils.java

ViolationLine
Too many static imports may lead to messy code19 - 238
Avoid empty catch blocks218 - 219

org/jclouds/ovf/xml/NetworkSectionHandler.java

ViolationLine
No need to import a type that lives in the same package31

org/jclouds/ovf/xml/OperatingSystemSectionHandler.java

ViolationLine
These nested if statements could be combined47 - 48