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 |
19 |
13 |
0 |
0 |
io.github.rose.redis.bloomfilter.BloomRedisService
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in io.github.rose.redis.bloomfilter.BloomRedisService.includeByBloomFilter(String, Object) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
53 |
Medium |
BloomRedisService.redisTemplate not initialized in constructor and dereferenced in io.github.rose.redis.bloomfilter.BloomRedisService.addByBloomFilter(String, Object) |
STYLE |
UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR |
42 |
Low |
BloomRedisService.redisTemplate not initialized in constructor and dereferenced in io.github.rose.redis.bloomfilter.BloomRedisService.includeByBloomFilter(String, Object) |
STYLE |
UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR |
53 |
Low |
io.github.rose.redis.mq.config.EnjoyRedisMQConsumerAutoConfiguration
Bug |
Category |
Details |
Line |
Priority |
io.github.rose.redis.mq.config.EnjoyRedisMQConsumerAutoConfiguration.lambda$redisStreamMessageListenerContainer$2(RedisTemplate, RedisMQTemplate, String, StreamMessageListenerContainer, AbstractRedisStreamMessageListener) might ignore java.lang.Exception |
BAD_PRACTICE |
DE_MIGHT_IGNORE |
163 |
Low |
io.github.rose.redis.service.RedisService
Bug |
Category |
Details |
Line |
Priority |
Call to Long.equals(Integer) in io.github.rose.redis.service.RedisService.releaseLock(String, String) |
CORRECTNESS |
EC_UNRELATED_TYPES |
136 |
High |
Possible null pointer dereference in io.github.rose.redis.service.RedisService.findKeysForPage(String, int, int) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
100 |
Medium |
Possible null pointer dereference in io.github.rose.redis.service.RedisService.getLock(String, String, int) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
128 |
Medium |
Possible null pointer dereference in io.github.rose.redis.service.RedisService.hasKey(String) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
124 |
Medium |
Possible null pointer dereference in io.github.rose.redis.service.RedisService.releaseLock(String, String) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
136 |
Medium |
Possible null pointer dereference in io.github.rose.redis.service.RedisService.scan(String) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
87 |
Medium |
Exception is caught when Exception is not thrown in io.github.rose.redis.service.RedisService.set(String, Object, Long) |
STYLE |
REC_CATCH_EXCEPTION |
59 |
Low |
io.github.rose.redis.zk.ZkLockImpl
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in io.github.rose.redis.zk.ZkLockImpl.lock(String) |
STYLE |
REC_CATCH_EXCEPTION |
57 |
Low |
Exception is caught when Exception is not thrown in io.github.rose.redis.zk.ZkLockImpl.unlock(String) |
STYLE |
REC_CATCH_EXCEPTION |
96 |
Low |