The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.compute.domain.RegionNameAndIngressRules.getPorts() may expose internal representation by returning RegionNameAndIngressRules.ports | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
| new org.jclouds.ec2.compute.domain.RegionNameAndIngressRules(String, String, int[], boolean) may expose internal representation by storing an externally mutable object into RegionNameAndIngressRules.ports | MALICIOUS_CODE | EI_EXPOSE_REP2 | 31 | Medium |
| org.jclouds.ec2.compute.domain.RegionNameAndIngressRules doesn't override RegionAndName.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 30 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.compute.options.EC2TemplateOptions.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 61 | Medium |
| org.jclouds.ec2.compute.options.EC2TemplateOptions.getUserData() may expose internal representation by returning EC2TemplateOptions.userData | MALICIOUS_CODE | EI_EXPOSE_REP | 455 | Medium |
| org.jclouds.ec2.compute.options.EC2TemplateOptions.userData(byte[]) may expose internal representation by storing an externally mutable object into EC2TemplateOptions.userData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| 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) | STYLE | BC_UNCONFIRMED_CAST | 157 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet.instanceToRegionAndName isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 104 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.Attachment.getAttachTime() may expose internal representation by returning Attachment.attachTime | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
| 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.attachTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.BlockDevice.getAttachTime() may expose internal representation by returning BlockDevice.attachTime | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |
| new org.jclouds.ec2.domain.BlockDevice(String, Attachment$Status, Date, boolean) may expose internal representation by storing an externally mutable object into BlockDevice.attachTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.BundleTask.getStartTime() may expose internal representation by returning BundleTask.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 275 | Medium |
| org.jclouds.ec2.domain.BundleTask.getUpdateTime() may expose internal representation by returning BundleTask.updateTime | MALICIOUS_CODE | EI_EXPOSE_REP | 291 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.RunningInstance.getLaunchTime() may expose internal representation by returning RunningInstance.launchTime | MALICIOUS_CODE | EI_EXPOSE_REP | 363 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.RunningInstance$Builder.launchTime(Date) may expose internal representation by storing an externally mutable object into RunningInstance$Builder.launchTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 131 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.Snapshot.getStartTime() may expose internal representation by returning Snapshot.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 116 | Medium |
| 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.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.domain.Volume.getCreateTime() may expose internal representation by returning Volume.createTime | MALICIOUS_CODE | EI_EXPOSE_REP | 138 | Medium |
| 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.createTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 105 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.options.BundleInstanceS3StorageOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 52 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.ec2.options.RegisterImageBackedByEbsOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 46 | Medium |