SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.7.0
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
25 |
9 |
0 |
0 |
io.extact.rms.external.webapi.RentalReservationResource
Bug |
Category |
Details |
Line |
Priority |
new io.extact.rms.external.webapi.RentalReservationResource(RentalReservationApplication) may expose internal representation by storing an externally mutable object into RentalReservationResource.application |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
36 |
Medium |
io.extact.rms.external.webapi.WebApiMain
io.extact.rms.external.webapi.dto.ReservationResourceDto
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.external.webapi.dto.ReservationResourceDto.getRentalItemDto() may expose internal representation by returning ReservationResourceDto.rentalItemDto |
MALICIOUS_CODE |
EI_EXPOSE_REP |
54 |
Medium |
io.extact.rms.external.webapi.dto.ReservationResourceDto.getUserAccountDto() may expose internal representation by returning ReservationResourceDto.userAccountDto |
MALICIOUS_CODE |
EI_EXPOSE_REP |
51 |
Medium |
io.extact.rms.external.webapi.dto.ReservationResourceDto.setRentalItemDto(RentalItemResourceDto) may expose internal representation by storing an externally mutable object into ReservationResourceDto.rentalItemDto |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
22 |
Medium |
io.extact.rms.external.webapi.dto.ReservationResourceDto.setUserAccountDto(UserAccountResourceDto) may expose internal representation by storing an externally mutable object into ReservationResourceDto.userAccountDto |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
22 |
Medium |
io.extact.rms.external.webapi.mapper.ValidationErrorInfo
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.external.webapi.mapper.ValidationErrorInfo.getErrorItems() may expose internal representation by returning ValidationErrorInfo.errorItems |
MALICIOUS_CODE |
EI_EXPOSE_REP |
18 |
Medium |
new io.extact.rms.external.webapi.mapper.ValidationErrorInfo(String, String, List) may expose internal representation by storing an externally mutable object into ValidationErrorInfo.errorItems |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
22 |
Medium |
io.extact.rms.external.webapi.mapper.ValidationErrorInfo.setErrorItems(List) may expose internal representation by storing an externally mutable object into ValidationErrorInfo.errorItems |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
14 |
Medium |