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
143 11 0 0

org.opendaylight.yangtools.yang.data.api.StackedReversePathArguments

Bug Category Details Line Priority
Redundant nullcheck of args, which is known to be non-null in org.opendaylight.yangtools.yang.data.api.StackedReversePathArguments.calculateSize(YangInstanceIdentifier) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 31 Medium

org.opendaylight.yangtools.yang.data.api.StackedReversePathArguments$IteratorImpl

Bug Category Details Line Priority
Redundant nullcheck of args, which is known to be non-null in org.opendaylight.yangtools.yang.data.api.StackedReversePathArguments$IteratorImpl.next() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 112 Medium

org.opendaylight.yangtools.yang.data.api.StackedYangInstanceIdentifier

Bug Category Details Line Priority
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in org.opendaylight.yangtools.yang.data.api.StackedYangInstanceIdentifier.<static initializer for StackedYangInstanceIdentifier>() MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 32 Low
Redundant nullcheck of ret, which is known to be non-null in org.opendaylight.yangtools.yang.data.api.StackedYangInstanceIdentifier.getPathArguments() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 103 Medium
Redundant nullcheck of ret, which is known to be non-null in org.opendaylight.yangtools.yang.data.api.StackedYangInstanceIdentifier.getReversePathArguments() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 123 Medium

org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier

Bug Category Details Line Priority
Initialization of org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier accesses class org.opendaylight.yangtools.yang.data.api.FixedYangInstanceIdentifier, which isn't initialized yet BAD_PRACTICE IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION 80 Medium

org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodes

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$PathArgument to org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$NodeWithValue in org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodes.getDirectChild(NormalizedNode, YangInstanceIdentifier$PathArgument) STYLE BC_UNCONFIRMED_CAST 92 Low

org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodes$1

Bug Category Details Line Priority
input must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 35 Medium

org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter$OrderedNormalizedNodeWriter$1

Bug Category Details Line Priority
input must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 287 Low
The class org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter$OrderedNormalizedNodeWriter$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 284 Low

org.opendaylight.yangtools.yang.data.api.schema.tree.spi.LazyContainerNode$1

Bug Category Details Line Priority
input must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 56 Low