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
25 4 0 0

Files

Class Bugs
org.petify.chat.config.JwtHandshakeInterceptor 1
org.petify.chat.config.StompAuthChannelInterceptor 1
org.petify.chat.service.ChatService 2

org.petify.chat.config.JwtHandshakeInterceptor

Bug Category Details Line Priority
new org.petify.chat.config.JwtHandshakeInterceptor(JwtDecoder, JwtGrantedAuthoritiesConverter) may expose internal representation by storing an externally mutable object into JwtHandshakeInterceptor.authoritiesConverter MALICIOUS_CODE EI_EXPOSE_REP2 23 Medium

org.petify.chat.config.StompAuthChannelInterceptor

Bug Category Details Line Priority
new org.petify.chat.config.StompAuthChannelInterceptor(JwtDecoder, JwtGrantedAuthoritiesConverter) may expose internal representation by storing an externally mutable object into StompAuthChannelInterceptor.authoritiesConverter MALICIOUS_CODE EI_EXPOSE_REP2 22 Medium

org.petify.chat.service.ChatService

Bug Category Details Line Priority
new org.petify.chat.service.ChatService(ChatRoomRepository, ChatMessageRepository, ShelterClient, SimpMessagingTemplate) may expose internal representation by storing an externally mutable object into ChatService.broker MALICIOUS_CODE EI_EXPOSE_REP2 33 Medium
new org.petify.chat.service.ChatService(ChatRoomRepository, ChatMessageRepository, ShelterClient, SimpMessagingTemplate) may expose internal representation by storing an externally mutable object into ChatService.msgRepo MALICIOUS_CODE EI_EXPOSE_REP2 33 Medium