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
22 5 0 0

Files

Class Bugs
org.petify.reservations.controller.ReservationController 1
org.petify.reservations.dto.SlotBatchRequest 4

org.petify.reservations.controller.ReservationController

Bug Category Details Line Priority
new org.petify.reservations.controller.ReservationController(ReservationService) may expose internal representation by storing an externally mutable object into ReservationController.reservationService MALICIOUS_CODE EI_EXPOSE_REP2 28 Medium

org.petify.reservations.dto.SlotBatchRequest

Bug Category Details Line Priority
org.petify.reservations.dto.SlotBatchRequest.petIds() may expose internal representation by returning SlotBatchRequest.petIds MALICIOUS_CODE EI_EXPOSE_REP 12 Medium
org.petify.reservations.dto.SlotBatchRequest.timeWindows() may expose internal representation by returning SlotBatchRequest.timeWindows MALICIOUS_CODE EI_EXPOSE_REP 12 Medium
new org.petify.reservations.dto.SlotBatchRequest(List, boolean, LocalDate, LocalDate, List) may expose internal representation by storing an externally mutable object into SlotBatchRequest.petIds MALICIOUS_CODE EI_EXPOSE_REP2 12 Medium
new org.petify.reservations.dto.SlotBatchRequest(List, boolean, LocalDate, LocalDate, List) may expose internal representation by storing an externally mutable object into SlotBatchRequest.timeWindows MALICIOUS_CODE EI_EXPOSE_REP2 12 Medium