FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
952000

org.jclouds.aws.ec2.compute.AWSEC2TemplateOptions

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.compute.AWSEC2TemplateOptions.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL55Medium

org.jclouds.aws.ec2.compute.strategy.AWSEC2CreateNodesInGroupThenAddToSet

BugCategoryDetailsLinePriority
Field AWSEC2CreateNodesInGroupThenAddToSet.logger masks field in superclass org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSetCORRECTNESSMF_CLASS_MASKS_FIELD61High

org.jclouds.aws.ec2.compute.suppliers.AWSEC2HardwareSupplier

BugCategoryDetailsLinePriority
new org.jclouds.aws.ec2.compute.suppliers.AWSEC2HardwareSupplier(Supplier, String, String[]) may expose internal representation by storing an externally mutable object into AWSEC2HardwareSupplier.ccAmisMALICIOUS_CODEEI_EXPOSE_REP266Medium

org.jclouds.aws.ec2.domain.LaunchSpecification

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.LaunchSpecification.getUserData() may expose internal representation by returning LaunchSpecification.userDataMALICIOUS_CODEEI_EXPOSE_REP258Medium
new org.jclouds.aws.ec2.domain.LaunchSpecification(String, String, String, String, String, String, Iterable, Iterable, Boolean, byte[]) may expose internal representation by storing an externally mutable object into LaunchSpecification.userDataMALICIOUS_CODEEI_EXPOSE_REP2188Medium

org.jclouds.aws.ec2.domain.LaunchSpecification$Builder

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.LaunchSpecification$Builder.userData(byte[]) may expose internal representation by storing an externally mutable object into LaunchSpecification$Builder.userDataMALICIOUS_CODEEI_EXPOSE_REP2148Medium

org.jclouds.aws.ec2.domain.RegionNameAndPublicKeyMaterial

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.RegionNameAndPublicKeyMaterial doesn't override org.jclouds.ec2.compute.domain.RegionAndName.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS31Medium

org.jclouds.aws.ec2.domain.Spot

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.Spot.getTimestamp() may expose internal representation by returning Spot.timestampMALICIOUS_CODEEI_EXPOSE_REP112Medium

org.jclouds.aws.ec2.domain.Spot$Builder

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.Spot$Builder.timestamp(Date) may expose internal representation by storing an externally mutable object into Spot$Builder.timestampMALICIOUS_CODEEI_EXPOSE_REP272Medium

org.jclouds.aws.ec2.domain.SpotInstanceRequest

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.SpotInstanceRequest.getCreateTime() may expose internal representation by returning SpotInstanceRequest.createTimeMALICIOUS_CODEEI_EXPOSE_REP243Medium
org.jclouds.aws.ec2.domain.SpotInstanceRequest.getValidFrom() may expose internal representation by returning SpotInstanceRequest.validFromMALICIOUS_CODEEI_EXPOSE_REP287Medium
org.jclouds.aws.ec2.domain.SpotInstanceRequest.getValidUntil() may expose internal representation by returning SpotInstanceRequest.validUntilMALICIOUS_CODEEI_EXPOSE_REP291Medium
new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.createTimeMALICIOUS_CODEEI_EXPOSE_REP2216Medium
new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.validFromMALICIOUS_CODEEI_EXPOSE_REP2227Medium
new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.validUntilMALICIOUS_CODEEI_EXPOSE_REP2228Medium

org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.createTime(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.createTimeMALICIOUS_CODEEI_EXPOSE_REP283Medium
org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.validFrom(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.validFromMALICIOUS_CODEEI_EXPOSE_REP2138Medium
org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.validUntil(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.validUntilMALICIOUS_CODEEI_EXPOSE_REP2143Medium

org.jclouds.aws.ec2.options.AWSRunInstancesOptions

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.options.AWSRunInstancesOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS50Medium

org.jclouds.aws.ec2.xml.LaunchSpecificationHandler

BugCategoryDetailsLinePriority
org.jclouds.aws.ec2.xml.LaunchSpecificationHandler.endElement(String, String, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR115Medium