SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is low
Effort is max
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 6 |
11 |
0 |
0 |
it.tidalwave.role.spring.RoleSpringConfiguration
| Bug |
Category |
Details |
Line |
Priority |
| Suppressing annotation on the method it.tidalwave.role.spring.RoleSpringConfiguration.getBasePackages() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
47 |
Medium |
| Suppressing annotation on the method it.tidalwave.role.spring.RoleSpringConfiguration.setBasePackages(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
47 |
Medium |
it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory() |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
47 |
Medium |
| Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory() |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
47 |
Low |
| Suppressing annotation on the field it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory.log is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_FIELD |
Not available |
Medium |
it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect
| Bug |
Category |
Details |
Line |
Priority |
| it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect.ajc$perSingletonInstance isn't final but should be |
MALICIOUS_CODE |
MS_SHOULD_BE_FINAL |
Not available |
Low |
| Primitive field it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect.ajc$perSingletonInstance is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. |
BAD_PRACTICE |
PA_PUBLIC_PRIMITIVE_ATTRIBUTE |
1 |
Medium |
| Suppressing annotation on the field it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect.log is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_FIELD |
Not available |
Medium |
it.tidalwave.util.spring.ClassScanner
| Bug |
Category |
Details |
Line |
Priority |
| Possible null pointer dereference in it.tidalwave.util.spring.ClassScanner.findClasses() due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
70 |
Medium |
| Suppressing annotation on the method it.tidalwave.util.spring.ClassScanner.setBasePackages(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
49 |
Medium |