FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
68 |
16 |
0 |
0 |
com.ericsson.research.trap.impl.ListenerTrapEndpoint
Bug |
Category |
Details |
Line |
Priority |
instanceof will always return false in new com.ericsson.research.trap.impl.ListenerTrapEndpoint(), since a RuntimeException can't be a com.ericsson.research.trap.TrapException |
CORRECTNESS |
BC_IMPOSSIBLE_INSTANCEOF |
294 |
Medium |
com.ericsson.research.trap.impl.TrapChannelImpl
Bug |
Category |
Details |
Line |
Priority |
Switch statement found in com.ericsson.research.trap.impl.TrapChannelImpl.run() where one case falls through to the next case |
STYLE |
SF_SWITCH_FALLTHROUGH |
483-487 |
Medium |
com.ericsson.research.trap.impl.TrapEndpointImpl
Bug |
Category |
Details |
Line |
Priority |
Inconsistent synchronization of com.ericsson.research.trap.impl.TrapEndpointImpl.reconnectTimeout; locked 71% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
1660 |
Medium |
Naked notify in com.ericsson.research.trap.impl.TrapEndpointImpl.setState(TrapState) |
MT_CORRECTNESS |
NN_NAKED_NOTIFY |
1304 |
Medium |
Unread public/protected field: com.ericsson.research.trap.impl.TrapEndpointImpl.canWakeupUntil |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
161 |
Medium |
com.ericsson.research.trap.impl.TrapMessageImpl
Bug |
Category |
Details |
Line |
Priority |
com.ericsson.research.trap.impl.TrapMessageImpl.getData() may expose internal representation by returning TrapMessageImpl.data |
MALICIOUS_CODE |
EI_EXPOSE_REP |
344 |
Medium |
com.ericsson.research.trap.impl.TrapMessageImpl.setData(byte[]) may expose internal representation by storing an externally mutable object into TrapMessageImpl.data |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
353 |
Medium |
com.ericsson.research.trap.impl.TrapObjectMessage
Bug |
Category |
Details |
Line |
Priority |
com.ericsson.research.trap.impl.TrapObjectMessage.getData() may expose internal representation by returning TrapObjectMessage.data |
MALICIOUS_CODE |
EI_EXPOSE_REP |
57 |
Medium |
com.ericsson.research.trap.impl.TrapPeerImpl$PeerInfo
Bug |
Category |
Details |
Line |
Priority |
Unread field: com.ericsson.research.trap.impl.TrapPeerImpl$PeerInfo.locallyInitiated |
PERFORMANCE |
URF_UNREAD_FIELD |
376 |
Medium |
Unread public/protected field: com.ericsson.research.trap.impl.TrapPeerImpl$PeerInfo.transport |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
380 |
Medium |
com.ericsson.research.trap.spi.transports.AbstractTransport
Bug |
Category |
Details |
Line |
Priority |
com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor
Bug |
Category |
Details |
Line |
Priority |
Inconsistent synchronization of com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.logger; locked 83% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
226 |
Medium |
Inconsistent synchronization of com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.maxKeepalive; locked 50% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
124 |
Medium |
Inconsistent synchronization of com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.minKeepalive; locked 50% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
119 |
Medium |
Unread public/protected field: com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.lastInterval |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
75 |
Medium |
Unread public/protected field: com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.maxAutoKeepalive |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
93 |
Medium |
Unread public/protected field: com.ericsson.research.trap.spi.transports.StaticKeepalivePredictor.minAutoKeepalive |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
85 |
Medium |