SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
31 |
11 |
0 |
0 |
org.petify.feed.controller.EventController
Bug |
Category |
Details |
Line |
Priority |
new org.petify.feed.controller.EventController(EventService, EventParticipantService) may expose internal representation by storing an externally mutable object into EventController.eventParticipantService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
28 |
Medium |
new org.petify.feed.controller.EventController(EventService, EventParticipantService) may expose internal representation by storing an externally mutable object into EventController.eventService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
28 |
Medium |
org.petify.feed.controller.PostController
Bug |
Category |
Details |
Line |
Priority |
new org.petify.feed.controller.PostController(PostService) may expose internal representation by storing an externally mutable object into PostController.postService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
26 |
Medium |
org.petify.feed.dto.PostRequest
Bug |
Category |
Details |
Line |
Priority |
org.petify.feed.dto.PostRequest.imageIds() may expose internal representation by returning PostRequest.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP |
10 |
Medium |
new org.petify.feed.dto.PostRequest(String, String, Long, String, Long, List) may expose internal representation by storing an externally mutable object into PostRequest.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
10 |
Medium |
org.petify.feed.dto.PostResponse
Bug |
Category |
Details |
Line |
Priority |
org.petify.feed.dto.PostResponse.imageIds() may expose internal representation by returning PostResponse.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP |
7 |
Medium |
new org.petify.feed.dto.PostResponse(Long, Long, String, String, Long, String, Long, List, LocalDateTime, LocalDateTime) may expose internal representation by storing an externally mutable object into PostResponse.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
7 |
Medium |
org.petify.feed.model.Post
Bug |
Category |
Details |
Line |
Priority |
org.petify.feed.model.Post.getImageIds() may expose internal representation by returning Post.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP |
29 |
Medium |
new org.petify.feed.model.Post(Long, String, String, Long, String, Long, List) may expose internal representation by storing an externally mutable object into Post.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
34 |
Medium |
new org.petify.feed.model.Post(List) may expose internal representation by storing an externally mutable object into Post.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
19 |
Medium |
org.petify.feed.model.Post.setImageIds(List) may expose internal representation by storing an externally mutable object into Post.imageIds |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
22 |
Medium |