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
931800

org.jclouds.s3.blobstore.S3BlobStore

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

org.jclouds.s3.blobstore.functions.BlobToObjectMetadata

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.s3.blobstore.functions.BlobToObjectMetadata.setContext(HttpRequest)STYLEBC_UNCONFIRMED_CAST62Medium

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_REP49Medium
new org.jclouds.s3.domain.BucketMetadata(String, Date, CanonicalUser) may expose internal representation by storing an externally mutable object into BucketMetadata.creationDateMALICIOUS_CODEEI_EXPOSE_REP235Medium

org.jclouds.s3.domain.ObjectMetadataBuilder

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.ObjectMetadataBuilder.lastModified(Date) may expose internal representation by storing an externally mutable object into ObjectMetadataBuilder.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP281Medium

org.jclouds.s3.domain.internal.BucketListObjectMetadata

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.internal.BucketListObjectMetadata.getLastModified() may expose internal representation by returning BucketListObjectMetadata.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP119Medium
new org.jclouds.s3.domain.internal.BucketListObjectMetadata(String, String, URI, Date, String, byte[], long, CanonicalUser, ObjectMetadata$StorageClass) may expose internal representation by storing an externally mutable object into BucketListObjectMetadata.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP259Medium
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_REP106Medium
new org.jclouds.s3.domain.internal.CopyObjectResult(Date, String) may expose internal representation by storing an externally mutable object into CopyObjectResult.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP248Medium

org.jclouds.s3.domain.internal.MutableObjectMetadataImpl

BugCategoryDetailsLinePriority
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.getLastModified() may expose internal representation by returning MutableObjectMetadataImpl.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP131Medium
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.setLastModified(Date) may expose internal representation by storing an externally mutable object into MutableObjectMetadataImpl.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP2195Medium
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.SIGNED_PARAMETERS isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL90High

org.jclouds.s3.options.CopyObjectOptions

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

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_EQUALS61Medium