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 |
82 |
8 |
0 |
0 |
io.extact.rms.application.common.ServiceLoginUser
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.application.common.ServiceLoginUser.getGroups() may expose internal representation by returning ServiceLoginUser.groups |
MALICIOUS_CODE |
EI_EXPOSE_REP |
14 |
Medium |
io.extact.rms.application.domain.Reservation
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.application.domain.Reservation.getRentalItem() may expose internal representation by returning Reservation.rentalItem |
MALICIOUS_CODE |
EI_EXPOSE_REP |
74 |
Medium |
io.extact.rms.application.domain.Reservation.getUserAccount() may expose internal representation by returning Reservation.userAccount |
MALICIOUS_CODE |
EI_EXPOSE_REP |
71 |
Medium |
io.extact.rms.application.domain.Reservation.setRentalItem(RentalItem) may expose internal representation by storing an externally mutable object into Reservation.rentalItem |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
38 |
Medium |
io.extact.rms.application.domain.Reservation.setUserAccount(UserAccount) may expose internal representation by storing an externally mutable object into Reservation.userAccount |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
38 |
Medium |
io.extact.rms.application.persistence.jpa.RentalItemJpaRepository
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.application.persistence.jpa.RentalItemJpaRepository.getEntityManage() may expose internal representation by returning RentalItemJpaRepository.em |
MALICIOUS_CODE |
EI_EXPOSE_REP |
33 |
Medium |
io.extact.rms.application.persistence.jpa.ReservationJpaRepository
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.application.persistence.jpa.ReservationJpaRepository.getEntityManage() may expose internal representation by returning ReservationJpaRepository.em |
MALICIOUS_CODE |
EI_EXPOSE_REP |
75 |
Medium |
io.extact.rms.application.persistence.jpa.UserAccountJpaRepository
Bug |
Category |
Details |
Line |
Priority |
io.extact.rms.application.persistence.jpa.UserAccountJpaRepository.getEntityManage() may expose internal representation by returning UserAccountJpaRepository.em |
MALICIOUS_CODE |
EI_EXPOSE_REP |
46 |
Medium |