FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
78 |
16 |
0 |
0 |
org.opendaylight.yangtools.util.MapAdaptor
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.opendaylight.yangtools.util.MapAdaptor.getProperty(String, int) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
52 |
High |
org.opendaylight.yangtools.util.MutableOffsetMap
Bug |
Category |
Details |
Line |
Priority |
Using .equals to compare two Object[]'s, (equivalent to ==) in org.opendaylight.yangtools.util.MutableOffsetMap.cloneArray() |
CORRECTNESS |
EC_BAD_ARRAY_COMPARE |
233 |
Medium |
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.clear() |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
311 |
Medium |
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.put(Object, Object) |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
258 |
Medium |
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.put(Object, Object) |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
268 |
Medium |
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.remove(Object) |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
290 |
Medium |
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.remove(Object) |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
299 |
Medium |
org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
Bug |
Category |
Details |
Line |
Priority |
Method new org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask(Runnable, Object) overrides the nullness annotation of parameter result in an incompatible way |
STYLE |
NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION |
126 |
Medium |
org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask$DelegatingAsyncNotifyingListenableFutureTask
org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
Bug |
Category |
Details |
Line |
Priority |
Unchecked/unconfirmed cast from java.util.concurrent.LinkedBlockingQueue<java.lang.Runnable> to org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue of return value in org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor.getLargestQueueSize() |
STYLE |
BC_UNCONFIRMED_CAST_OF_RETURN_VALUE |
96 |
Low |
org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor$ExecutorQueue
Bug |
Category |
Details |
Line |
Priority |
Class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor$ExecutorQueue defines non-transient non-serializable instance field backingQueue |
BAD_PRACTICE |
SE_BAD_FIELD |
|
Low |
org.opendaylight.yangtools.util.concurrent.ExceptionMapper
org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$NotificationTask
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.util.Queue.offer(Object) ignored in new org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$NotificationTask(QueuedNotificationManager, QueuedNotificationManager$ListenerKey, Iterator) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
311 |
Low |
Exceptional return value of java.util.Queue.offer(Object) ignored in org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$NotificationTask.submitNotifications(Iterator) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
368 |
Low |