SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
18 13 0 0

Files

Class Bugs
org.oxerr.seatgeek.client.model.AbstractListing 4
org.oxerr.seatgeek.client.model.response.MultipleListingsResponse 2
org.oxerr.seatgeek.client.model.response.Response 4
org.oxerr.seatgeek.client.model.response.SingleListingResponse 2
org.oxerr.seatgeek.model.request.CreateListingRequest 1

org.oxerr.seatgeek.client.model.AbstractListing

Bug Category Details Line Priority
org.oxerr.seatgeek.client.model.AbstractListing.getBarcodes() may expose internal representation by returning AbstractListing.barcodes MALICIOUS_CODE EI_EXPOSE_REP 211 Medium
org.oxerr.seatgeek.client.model.AbstractListing.getTokens() may expose internal representation by returning AbstractListing.tokens MALICIOUS_CODE EI_EXPOSE_REP 203 Medium
org.oxerr.seatgeek.client.model.AbstractListing.setBarcodes(List) may expose internal representation by storing an externally mutable object into AbstractListing.barcodes MALICIOUS_CODE EI_EXPOSE_REP2 215 Medium
org.oxerr.seatgeek.client.model.AbstractListing.setTokens(List) may expose internal representation by storing an externally mutable object into AbstractListing.tokens MALICIOUS_CODE EI_EXPOSE_REP2 207 Medium

org.oxerr.seatgeek.client.model.response.MultipleListingsResponse

Bug Category Details Line Priority
org.oxerr.seatgeek.client.model.response.MultipleListingsResponse.getListings() may expose internal representation by returning MultipleListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP 17 Medium
org.oxerr.seatgeek.client.model.response.MultipleListingsResponse.setListings(List) may expose internal representation by storing an externally mutable object into MultipleListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium

org.oxerr.seatgeek.client.model.response.Response

Bug Category Details Line Priority
org.oxerr.seatgeek.client.model.response.Response.getError() may expose internal representation by returning Response.error MALICIOUS_CODE EI_EXPOSE_REP 35 Medium
org.oxerr.seatgeek.client.model.response.Response.getMeta() may expose internal representation by returning Response.meta MALICIOUS_CODE EI_EXPOSE_REP 27 Medium
org.oxerr.seatgeek.client.model.response.Response.setError(Error) may expose internal representation by storing an externally mutable object into Response.error MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium
org.oxerr.seatgeek.client.model.response.Response.setMeta(Meta) may expose internal representation by storing an externally mutable object into Response.meta MALICIOUS_CODE EI_EXPOSE_REP2 31 Medium

org.oxerr.seatgeek.client.model.response.SingleListingResponse

Bug Category Details Line Priority
org.oxerr.seatgeek.client.model.response.SingleListingResponse.getListing() may expose internal representation by returning SingleListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP 13 Medium
org.oxerr.seatgeek.client.model.response.SingleListingResponse.setListing(Listing) may expose internal representation by storing an externally mutable object into SingleListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP2 17 Medium

org.oxerr.seatgeek.model.request.CreateListingRequest

Bug Category Details Line Priority
The class name org.oxerr.seatgeek.model.request.CreateListingRequest shadows the simple name of the superclass org.oxerr.seatgeek.client.model.request.CreateListingRequest BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 7 High