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 |
15 |
9 |
0 |
0 |
io.extact.rms.client.api.dto.ReservationClientDto
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.client.api.dto.ReservationClientDto.getRentalItemDto() may expose internal representation by returning ReservationClientDto.rentalItemDto |
MALICIOUS_CODE |
EI_EXPOSE_REP |
25 |
Medium |
io.extact.rms.client.api.dto.ReservationClientDto.getUserAccountDto() may expose internal representation by returning ReservationClientDto.userAccountDto |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
io.extact.rms.client.api.dto.ReservationClientDto.setRentalItemDto(RentalItemClientDto) may expose internal representation by storing an externally mutable object into ReservationClientDto.rentalItemDto |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
14 |
Medium |
io.extact.rms.client.api.dto.ReservationClientDto.setUserAccountDto(UserAccountClientDto) may expose internal representation by storing an externally mutable object into ReservationClientDto.userAccountDto |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
14 |
Medium |
io.extact.rms.client.api.exception.ValidateClientException
Bug |
Category |
Details |
Line |
Priority |
new io.extact.rms.client.api.exception.ValidateClientException(ValidateClientException$ValidationErrorMessage) may expose internal representation by storing an externally mutable object into ValidateClientException.errorMessage |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
12 |
Medium |
io.extact.rms.client.api.exception.ValidateClientException$ValidationErrorMessage
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.client.api.exception.ValidateClientException$ValidationErrorMessage.getErrorItems() may expose internal representation by returning ValidateClientException$ValidationErrorMessage.errorItems |
MALICIOUS_CODE |
EI_EXPOSE_REP |
41 |
Medium |
io.extact.rms.client.api.exception.ValidateClientException$ValidationErrorMessage.setErrorItems(List) may expose internal representation by storing an externally mutable object into ValidateClientException$ValidationErrorMessage.errorItems |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
44 |
Medium |
io.extact.rms.client.api.login.LoggedInEvent
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.client.api.login.LoggedInEvent.getLoginUser() may expose internal representation by returning LoggedInEvent.loginUser |
MALICIOUS_CODE |
EI_EXPOSE_REP |
15 |
Medium |
new io.extact.rms.client.api.login.LoggedInEvent(UserAccountClientDto) may expose internal representation by storing an externally mutable object into LoggedInEvent.loginUser |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
12 |
Medium |