Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
14 9 0 0

Files

Class Bugs
dev.aherscu.qa.s3.publisher.maven.plugin.config.Include 1
dev.aherscu.qa.s3.publisher.maven.plugin.config.IncludedFilesListBuilder 1
dev.aherscu.qa.s3.publisher.maven.plugin.config.ParametersValidator 2
dev.aherscu.qa.s3.publisher.maven.plugin.util.ManagedFileContentEncoderGZipImpl 1
dev.aherscu.qa.s3.publisher.maven.plugin.util.ObjectMetadataBuilder 1
dev.aherscu.qa.s3.publisher.maven.plugin.util.S3Uploader 3

dev.aherscu.qa.s3.publisher.maven.plugin.config.Include

Bug Category Details Line Priority
dev.aherscu.qa.s3.publisher.maven.plugin.config.Include.getContraints() may expose internal representation by returning Include.constraints MALICIOUS_CODE EI_EXPOSE_REP 58 Medium

dev.aherscu.qa.s3.publisher.maven.plugin.config.IncludedFilesListBuilder

Bug Category Details Line Priority
new dev.aherscu.qa.s3.publisher.maven.plugin.config.IncludedFilesListBuilder(File, List, List, List) may expose internal representation by storing an externally mutable object into IncludedFilesListBuilder.includes MALICIOUS_CODE EI_EXPOSE_REP2 31 Medium

dev.aherscu.qa.s3.publisher.maven.plugin.config.ParametersValidator

Bug Category Details Line Priority
new dev.aherscu.qa.s3.publisher.maven.plugin.config.ParametersValidator(List, List) may expose internal representation by storing an externally mutable object into ParametersValidator.includes MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium
new dev.aherscu.qa.s3.publisher.maven.plugin.config.ParametersValidator(List, List) may expose internal representation by storing an externally mutable object into ParametersValidator.metadatas MALICIOUS_CODE EI_EXPOSE_REP2 36 Medium

dev.aherscu.qa.s3.publisher.maven.plugin.util.ManagedFileContentEncoderGZipImpl

Bug Category Details Line Priority
dev.aherscu.qa.s3.publisher.maven.plugin.util.ManagedFileContentEncoderGZipImpl.encode(ManagedFile) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 53 Low

dev.aherscu.qa.s3.publisher.maven.plugin.util.ObjectMetadataBuilder

Bug Category Details Line Priority
dev.aherscu.qa.s3.publisher.maven.plugin.util.ObjectMetadataBuilder.buildMetadata() may expose internal representation by returning ObjectMetadataBuilder.objectMetadata MALICIOUS_CODE EI_EXPOSE_REP 61 Medium

dev.aherscu.qa.s3.publisher.maven.plugin.util.S3Uploader

Bug Category Details Line Priority
new dev.aherscu.qa.s3.publisher.maven.plugin.util.S3Uploader(AmazonS3Client, Log, List, String, File, File, boolean) may expose internal representation by storing an externally mutable object into S3Uploader.client MALICIOUS_CODE EI_EXPOSE_REP2 48 Medium
new dev.aherscu.qa.s3.publisher.maven.plugin.util.S3Uploader(AmazonS3Client, Log, List, String, File, File, boolean) may expose internal representation by storing an externally mutable object into S3Uploader.contentEncoders MALICIOUS_CODE EI_EXPOSE_REP2 52 Medium
dev.aherscu.qa.s3.publisher.maven.plugin.util.S3Uploader.uploadManagedFile(ManagedFile) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 92 Medium