SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is low
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
27 |
9 |
0 |
0 |
io.github.rose.config.AsyncConfig
Bug |
Category |
Details |
Line |
Priority |
io.github.rose.feign.MetricsInterceptor
Bug |
Category |
Details |
Line |
Priority |
Write to static field io.github.rose.feign.MetricsInterceptor.meterRegistry from instance method io.github.rose.feign.MetricsInterceptor.bindTo(MeterRegistry) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
60 |
High |
io.github.rose.filter.CachingRequestFilter$CachingHttpServletRequestWrapper
Bug |
Category |
Details |
Line |
Priority |
Should io.github.rose.filter.CachingRequestFilter$CachingHttpServletRequestWrapper be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
46-79 |
Medium |
io.github.rose.filter.PayloadSizeFilter
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in new io.github.rose.filter.PayloadSizeFilter(String) |
STYLE |
REC_CATCH_EXCEPTION |
46 |
Low |
io.github.rose.filter.PayloadSizeFilter.doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
58 |
Medium |
io.github.rose.filter.XssFilter$XssHttpServletRequestWrapper
Bug |
Category |
Details |
Line |
Priority |
io.github.rose.micrometer.AggravateMetricsEndpoint
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in io.github.rose.micrometer.AggravateMetricsEndpoint.lambda$jvmMemoryMetrics$26(Map, Gauge) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
255 |
Low |
Possible null pointer dereference in io.github.rose.micrometer.AggravateMetricsEndpoint.lambda$jvmMemoryMetrics$28(Map, Gauge) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
264 |
Low |
Possible null pointer dereference in io.github.rose.micrometer.AggravateMetricsEndpoint.lambda$jvmMemoryMetrics$30(Map, Gauge) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
273 |
Low |