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
66 9 0 0

org.opendaylight.yangtools.yang.binding.BindingMapping

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.yangtools.yang.binding.BindingMapping.normalizePackageName(String) I18N DM_CONVERT_CASE 125 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.yangtools.yang.binding.BindingMapping.toFirstLower(String) I18N DM_CONVERT_CASE 243 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.yangtools.yang.binding.BindingMapping.toFirstUpper(String) I18N DM_CONVERT_CASE 218 Low
Switch statement found in org.opendaylight.yangtools.yang.binding.BindingMapping.getRootPackageName(QNameModule) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 91 Medium

org.opendaylight.yangtools.yang.binding.Identifier

Bug Category Details Line Priority
The class name org.opendaylight.yangtools.yang.binding.Identifier shadows the simple name of implemented interface org.opendaylight.yangtools.concepts.Identifier BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_INTERFACE Medium

org.opendaylight.yangtools.yang.binding.InstanceIdentifier

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.binding.InstanceIdentifier.<static initializer for InstanceIdentifier>() MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 77 Low

org.opendaylight.yangtools.yang.binding.InstanceIdentifierBuilderImpl

Bug Category Details Line Priority
org.opendaylight.yangtools.yang.binding.InstanceIdentifierBuilderImpl defines hashCode and uses Object.equals() BAD_PRACTICE HE_HASHCODE_USE_OBJECT_EQUALS 39 Low

org.opendaylight.yangtools.yang.binding.util.AugmentationFieldGetter$AugmentationGetterLoader

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.binding.util.AugmentationFieldGetter$AugmentationGetterLoader.load(Class) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 75 Low

org.opendaylight.yangtools.yang.binding.util.StringValueObjectFactory

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.binding.util.StringValueObjectFactory.create(Class, String) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 81 Low