SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
20 4 0 0

Files

Class Bugs
lv.id.jc.piglatin.actuator.StatusCodeSupplier 1
lv.id.jc.piglatin.actuator.TranslationCountEndpoint 1
lv.id.jc.piglatin.api.ApiUtil 1
lv.id.jc.piglatin.service.TranslationService 1

lv.id.jc.piglatin.actuator.StatusCodeSupplier

Bug Category Details Line Priority
Non-null field blogUrl is not initialized by new lv.id.jc.piglatin.actuator.StatusCodeSupplier(HttpClient) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 21-23 Medium

lv.id.jc.piglatin.actuator.TranslationCountEndpoint

Bug Category Details Line Priority
new lv.id.jc.piglatin.actuator.TranslationCountEndpoint(AtomicInteger) may expose internal representation by storing an externally mutable object into TranslationCountEndpoint.counterService MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

lv.id.jc.piglatin.api.ApiUtil

Bug Category Details Line Priority
Possible null pointer dereference in lv.id.jc.piglatin.api.ApiUtil.setExampleResponse(NativeWebRequest, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 12 Medium

lv.id.jc.piglatin.service.TranslationService

Bug Category Details Line Priority
new lv.id.jc.piglatin.service.TranslationService(UnaryOperator, AtomicInteger) may expose internal representation by storing an externally mutable object into TranslationService.translationCounter MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium