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 |
| 5 |
9 |
0 |
0 |
it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory
| Bug |
Category |
Details |
Line |
Priority |
| Suppressing annotation on the field it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory.log is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_FIELD |
Not available |
Medium |
it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter
| Bug |
Category |
Details |
Line |
Priority |
| Invocation of reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block, in new it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter(MessageBusAdapterFactory, Object, Method, Class) |
MALICIOUS_CODE |
DP_DO_INSIDE_DO_PRIVILEGED |
79 |
Low |
| Suppressing annotation on the method it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter.getMethod() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
61 |
Medium |
| Suppressing annotation on the method it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter.getOwner() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
58 |
Medium |
| Suppressing annotation on the method it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter.getTopic() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
64 |
Medium |
| Suppressing annotation on the method it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter.toString() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
54 |
Medium |
it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport at new it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport(BeanFactory, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
52 |
Medium |
it.tidalwave.messagebus.spi.spring.SpringSimpleMessageSubscriberAspect
| Bug |
Category |
Details |
Line |
Priority |
| it.tidalwave.messagebus.spi.spring.SpringSimpleMessageSubscriberAspect.ajc$perSingletonInstance isn't final but should be |
MALICIOUS_CODE |
MS_SHOULD_BE_FINAL |
Not available |
Low |
| Primitive field it.tidalwave.messagebus.spi.spring.SpringSimpleMessageSubscriberAspect.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 |