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
13 5 0 0

org.opendaylight.protocol.util.BitArray

Bug Category Details Line Priority
Nullcheck of backingArray at line 44 of value previously dereferenced in new org.opendaylight.protocol.util.BitArray(byte[], int) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 42 High

org.opendaylight.protocol.util.ByteArray

Bug Category Details Line Priority
Possible null pointer dereference of buffer in org.opendaylight.protocol.util.ByteArray.getBytes(ByteBuf, int) CORRECTNESS NP_NULL_ON_SOME_PATH 74 Medium
Possible null pointer dereference of buffer in org.opendaylight.protocol.util.ByteArray.readBytes(ByteBuf, int) CORRECTNESS NP_NULL_ON_SOME_PATH 47 Medium

org.opendaylight.protocol.util.MplsLabelUtil

Bug Category Details Line Priority
org.opendaylight.protocol.util.MplsLabelUtil.mplsLabelForByteBuf(ByteBuf) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 33 Medium

org.opendaylight.protocol.util.PCEPHexDumpParser

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.protocol.util.PCEPHexDumpParser.clearWhiteSpaceToUpper(String) I18N DM_CONVERT_CASE 81 Low