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 |
lv.id.jc.piglatin.actuator.StatusCodeSupplier
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 |