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
77 14 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 246 Medium
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.clear() MT_CORRECTNESS VO_VOLATILE_INCREMENT 324 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 271 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 281 Medium
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.remove(Object) MT_CORRECTNESS VO_VOLATILE_INCREMENT 303 Medium
Increment of volatile field org.opendaylight.yangtools.util.MutableOffsetMap.modCount in org.opendaylight.yangtools.util.MutableOffsetMap.remove(Object) MT_CORRECTNESS VO_VOLATILE_INCREMENT 312 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 122 Medium

org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask$DelegatingAsyncNotifyingListenableFutureTask

Bug Category Details Line Priority
listenerExecutor must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 61 High
listenerExecutor must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 55 High

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

Bug Category Details Line Priority
Unchecked/unconfirmed cast from Throwable to Exception of return value in org.opendaylight.yangtools.util.concurrent.ExceptionMapper.apply(Exception) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 78 Low
e must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 70 Low