SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
16 3 0 0

Files

Class Bugs
org.petify.image.controller.ImageController 1
org.petify.image.service.ImageService 1
org.petify.image.service.StorageService 1

org.petify.image.controller.ImageController

Bug Category Details Line Priority
new org.petify.image.controller.ImageController(ImageService) may expose internal representation by storing an externally mutable object into ImageController.imageService MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

org.petify.image.service.ImageService

Bug Category Details Line Priority
new org.petify.image.service.ImageService(ImageRepository, ImageMapper, StorageService) may expose internal representation by storing an externally mutable object into ImageService.storageService MALICIOUS_CODE EI_EXPOSE_REP2 19 Medium

org.petify.image.service.StorageService

Bug Category Details Line Priority
new org.petify.image.service.StorageService(AmazonS3) may expose internal representation by storing an externally mutable object into StorageService.space MALICIOUS_CODE EI_EXPOSE_REP2 17 Medium