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
2172200

org.jclouds.ec2.compute.domain.RegionNameAndIngressRules

BugCategoryDetailsLinePriority
org.jclouds.ec2.compute.domain.RegionNameAndIngressRules.getPorts() may expose internal representation by returning RegionNameAndIngressRules.portsMALICIOUS_CODEEI_EXPOSE_REP39Medium
new org.jclouds.ec2.compute.domain.RegionNameAndIngressRules(String, String, int[], boolean) may expose internal representation by storing an externally mutable object into RegionNameAndIngressRules.portsMALICIOUS_CODEEI_EXPOSE_REP231Medium
org.jclouds.ec2.compute.domain.RegionNameAndIngressRules doesn't override RegionAndName.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS30Medium

org.jclouds.ec2.compute.options.EC2TemplateOptions

BugCategoryDetailsLinePriority
org.jclouds.ec2.compute.options.EC2TemplateOptions.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL61Medium
org.jclouds.ec2.compute.options.EC2TemplateOptions.getUserData() may expose internal representation by returning EC2TemplateOptions.userDataMALICIOUS_CODEEI_EXPOSE_REP455Medium
org.jclouds.ec2.compute.options.EC2TemplateOptions.userData(byte[]) may expose internal representation by storing an externally mutable object into EC2TemplateOptions.userDataMALICIOUS_CODEEI_EXPOSE_REP2120Medium

org.jclouds.ec2.compute.strategy.CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.jclouds.compute.options.TemplateOptions to org.jclouds.ec2.compute.options.EC2TemplateOptions in org.jclouds.ec2.compute.strategy.CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.getSecurityGroupsForTagAndOptions(String, String, TemplateOptions)STYLEBC_UNCONFIRMED_CAST157Medium

org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet

BugCategoryDetailsLinePriority
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.instanceToRegionAndName isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL104High

org.jclouds.ec2.domain.Attachment

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.Attachment.getAttachTime() may expose internal representation by returning Attachment.attachTimeMALICIOUS_CODEEI_EXPOSE_REP109Medium
new org.jclouds.ec2.domain.Attachment(String, String, String, String, Attachment$Status, Date) may expose internal representation by storing an externally mutable object into Attachment.attachTimeMALICIOUS_CODEEI_EXPOSE_REP266Medium

org.jclouds.ec2.domain.BlockDevice

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.BlockDevice.getAttachTime() may expose internal representation by returning BlockDevice.attachTimeMALICIOUS_CODEEI_EXPOSE_REP98Medium
new org.jclouds.ec2.domain.BlockDevice(String, Attachment$Status, Date, boolean) may expose internal representation by storing an externally mutable object into BlockDevice.attachTimeMALICIOUS_CODEEI_EXPOSE_REP241Medium

org.jclouds.ec2.domain.BundleTask

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.BundleTask.getStartTime() may expose internal representation by returning BundleTask.startTimeMALICIOUS_CODEEI_EXPOSE_REP275Medium
org.jclouds.ec2.domain.BundleTask.getUpdateTime() may expose internal representation by returning BundleTask.updateTimeMALICIOUS_CODEEI_EXPOSE_REP291Medium

org.jclouds.ec2.domain.RunningInstance

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.RunningInstance.getLaunchTime() may expose internal representation by returning RunningInstance.launchTimeMALICIOUS_CODEEI_EXPOSE_REP363Medium

org.jclouds.ec2.domain.RunningInstance$Builder

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.RunningInstance$Builder.launchTime(Date) may expose internal representation by storing an externally mutable object into RunningInstance$Builder.launchTimeMALICIOUS_CODEEI_EXPOSE_REP2131Medium

org.jclouds.ec2.domain.Snapshot

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.Snapshot.getStartTime() may expose internal representation by returning Snapshot.startTimeMALICIOUS_CODEEI_EXPOSE_REP116Medium
new org.jclouds.ec2.domain.Snapshot(String, String, String, int, Snapshot$Status, Date, int, String, String, String) may expose internal representation by storing an externally mutable object into Snapshot.startTimeMALICIOUS_CODEEI_EXPOSE_REP270Medium

org.jclouds.ec2.domain.Volume

BugCategoryDetailsLinePriority
org.jclouds.ec2.domain.Volume.getCreateTime() may expose internal representation by returning Volume.createTimeMALICIOUS_CODEEI_EXPOSE_REP138Medium
new org.jclouds.ec2.domain.Volume(String, String, int, String, String, Volume$Status, Date, Iterable) may expose internal representation by storing an externally mutable object into Volume.createTimeMALICIOUS_CODEEI_EXPOSE_REP2105Medium

org.jclouds.ec2.options.BundleInstanceS3StorageOptions

BugCategoryDetailsLinePriority
org.jclouds.ec2.options.BundleInstanceS3StorageOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS52Medium

org.jclouds.ec2.options.RegisterImageBackedByEbsOptions

BugCategoryDetailsLinePriority
org.jclouds.ec2.options.RegisterImageBackedByEbsOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS46Medium