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
911700

org.jclouds.s3.blobstore.S3BlobStore

BugCategoryDetailsLinePriority
org.jclouds.s3.blobstore.S3BlobStore.clearAndDeleteContainer(String) forgets to throw new IllegalStateException(String, Throwable)CORRECTNESSRV_EXCEPTION_NOT_THROWN170High

org.jclouds.s3.blobstore.functions.LocationFromBucketLocation

BugCategoryDetailsLinePriority
Redundant nullcheck of region, which is known to be non-null in org.jclouds.s3.blobstore.functions.LocationFromBucketLocation.apply(BucketMetadata)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.jclouds.s3.domain.BucketMetadata

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.BucketMetadata.getCreationDate() may expose internal representation by returning BucketMetadata.creationDateMALICIOUS_CODEEI_EXPOSE_REP51Medium
new org.jclouds.s3.domain.BucketMetadata(String, Date, CanonicalUser) may expose internal representation by storing an externally mutable object into BucketMetadata.creationDateMALICIOUS_CODEEI_EXPOSE_REP237Medium

org.jclouds.s3.domain.internal.BucketListObjectMetadata

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.internal.BucketListObjectMetadata.getLastModified() may expose internal representation by returning BucketListObjectMetadata.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP95Medium
new org.jclouds.s3.domain.internal.BucketListObjectMetadata(String, Date, String, byte[], long, CanonicalUser, ObjectMetadata$StorageClass) may expose internal representation by storing an externally mutable object into BucketListObjectMetadata.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP254Medium
Class org.jclouds.s3.domain.internal.BucketListObjectMetadata defines non-transient non-serializable instance field ownerBAD_PRACTICESE_BAD_FIELDHigh

org.jclouds.s3.domain.internal.CopyObjectResult

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.internal.CopyObjectResult.getLastModified() may expose internal representation by returning CopyObjectResult.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP92Medium
new org.jclouds.s3.domain.internal.CopyObjectResult(Date, String) may expose internal representation by storing an externally mutable object into CopyObjectResult.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP251Medium
Class org.jclouds.s3.domain.internal.CopyObjectResult defines non-transient non-serializable instance field ownerBAD_PRACTICESE_BAD_FIELDHigh

org.jclouds.s3.domain.internal.MutableObjectMetadataImpl

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.getLastModified() may expose internal representation by returning MutableObjectMetadataImpl.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP96Medium
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.setLastModified(Date) may expose internal representation by storing an externally mutable object into MutableObjectMetadataImpl.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP2145Medium
Class org.jclouds.s3.domain.internal.MutableObjectMetadataImpl defines non-transient non-serializable instance field ownerBAD_PRACTICESE_BAD_FIELDHigh

org.jclouds.s3.filters.RequestAuthorizeSignature

BugCategoryDetailsLinePriority
org.jclouds.s3.filters.RequestAuthorizeSignature.SPECIAL_QUERIES isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL79High

org.jclouds.s3.options.CopyObjectOptions

BugCategoryDetailsLinePriority
org.jclouds.s3.options.CopyObjectOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS73Medium

org.jclouds.s3.options.PutBucketOptions

BugCategoryDetailsLinePriority
org.jclouds.s3.options.PutBucketOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS57Medium

org.jclouds.s3.options.PutObjectOptions

BugCategoryDetailsLinePriority
org.jclouds.s3.options.PutObjectOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS58Medium