SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.5

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
10 7 0 0

Files

Class Bugs
org.oxerr.vividseats.client.rescu.resource.Response 1
org.oxerr.vividseats.client.rescu.resource.VividSeatsException 2
org.oxerr.vividseats.client.rescu.resource.inventory.ListingResponse 2
org.oxerr.vividseats.client.rescu.resource.inventory.ListingsResponse 2

org.oxerr.vividseats.client.rescu.resource.Response

Bug Category Details Line Priority
Exception thrown in class org.oxerr.vividseats.client.rescu.resource.Response at new org.oxerr.vividseats.client.rescu.resource.Response(Boolean, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 25 Medium

org.oxerr.vividseats.client.rescu.resource.VividSeatsException

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.VividSeatsException.getErrors() may expose internal representation by returning VividSeatsException.errors MALICIOUS_CODE EI_EXPOSE_REP 25 Medium
new org.oxerr.vividseats.client.rescu.resource.VividSeatsException(Boolean, String, List) may expose internal representation by storing an externally mutable object into VividSeatsException.errors MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium

org.oxerr.vividseats.client.rescu.resource.inventory.ListingResponse

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.inventory.ListingResponse.getListing() may expose internal representation by returning ListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
org.oxerr.vividseats.client.rescu.resource.inventory.ListingResponse.setListing(BrokerListing) may expose internal representation by storing an externally mutable object into ListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP2 26 Medium

org.oxerr.vividseats.client.rescu.resource.inventory.ListingsResponse

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.inventory.ListingsResponse.getListings() may expose internal representation by returning ListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP 26 Medium
org.oxerr.vividseats.client.rescu.resource.inventory.ListingsResponse.setListings(List) may expose internal representation by storing an externally mutable object into ListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium