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
155 40 0 0

Files

Class Bugs
org.opendaylight.ovsdb.lib.MonitorHandle 1
org.opendaylight.ovsdb.lib.impl.FutureTransformUtils$1 1
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$2 2
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$3 1
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$4 2
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$5 1
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$6 1
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$7 1
org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$8 1
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService 5
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$1 1
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$2 1
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$3 1
org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService 1
org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$1 2
org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$2 1
org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint 1
org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint$CallContext 1
org.opendaylight.ovsdb.lib.notation.Version 1
org.opendaylight.ovsdb.lib.notation.json.OvsdbMapSerializer 1
org.opendaylight.ovsdb.lib.notation.json.OvsdbTypesIdResolver 1
org.opendaylight.ovsdb.lib.operations.Mutate 1
org.opendaylight.ovsdb.lib.operations.Operations 2
org.opendaylight.ovsdb.lib.operations.Update 1
org.opendaylight.ovsdb.lib.schema.typed.TyperUtils 1
org.opendaylight.ovsdb.lib.schema.typed.TyperUtils$1 3
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.AbstractLibraryModule 2
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.LibraryBuilder$LibraryImpl 1
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.library.BrokerBuilder$BrokerImpl 1

org.opendaylight.ovsdb.lib.MonitorHandle

Bug Category Details Line Priority
org.opendaylight.ovsdb.lib.MonitorHandle is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 16 Low

org.opendaylight.ovsdb.lib.impl.FutureTransformUtils$1

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

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$2

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 192 Low
The class org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 189 Low

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$3

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 199 Low

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$4

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 225 Low
The class org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$4 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 222 Low

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$5

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$5 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 231 Low

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$6

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$6 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 254 Low

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$7

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

org.opendaylight.ovsdb.lib.impl.OvsdbClientImpl$8

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

org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService

Bug Category Details Line Priority
Incorrect lazy initialization of static field org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.connectionService in org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.getService() MT_CORRECTNESS LI_LAZY_INIT_STATIC 112 Medium
Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.notifyListenerForPassiveConnection(OvsdbClient) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 493 Low
Write to static field org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.singletonCreated from instance method org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.startOvsdbManager(int) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 220 Low
Write to static field org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.singletonCreated from instance method org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.startOvsdbManagerWithSsl(int, SSLContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 242 Low
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.getClient(Channel) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 469 Medium

org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$1

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 133 Low

org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$2

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 214 Low

org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$3

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 236 Low

org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService

Bug Category Details Line Priority
org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService.clientDisconnected(OvsdbClient) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 103 Medium

org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$1

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 63 Low
org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$1.run() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 67 Medium

org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$2

Bug Category Details Line Priority
The class org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 118 Low

org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint

Bug Category Details Line Priority
Load of known null value in org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint.processRequest(Object, JsonNode) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 210 Low

org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint$CallContext

Bug Category Details Line Priority
Should org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcEndpoint$CallContext be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 59 Medium

org.opendaylight.ovsdb.lib.notation.Version

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.opendaylight.ovsdb.lib.notation.Version.fromString(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 42 High

org.opendaylight.ovsdb.lib.notation.json.OvsdbMapSerializer

Bug Category Details Line Priority
org.opendaylight.ovsdb.lib.notation.json.OvsdbMapSerializer.serialize(OvsdbMap, JsonGenerator, SerializerProvider) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 29 Medium

org.opendaylight.ovsdb.lib.notation.json.OvsdbTypesIdResolver

Bug Category Details Line Priority
Unread field: org.opendaylight.ovsdb.lib.notation.json.OvsdbTypesIdResolver.baseType PERFORMANCE URF_UNREAD_FIELD 24 Medium

org.opendaylight.ovsdb.lib.operations.Mutate

Bug Category Details Line Priority
Return value of org.opendaylight.ovsdb.lib.schema.ColumnSchema.validate(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 35 Medium

org.opendaylight.ovsdb.lib.operations.Operations

Bug Category Details Line Priority
org.opendaylight.ovsdb.lib.operations.Operations.op isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 16 Low
Unread public/protected field: org.opendaylight.ovsdb.lib.operations.Operations.op STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 16 Low

org.opendaylight.ovsdb.lib.operations.Update

Bug Category Details Line Priority
Return value of org.opendaylight.ovsdb.lib.schema.ColumnSchema.validate(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 55 Medium

org.opendaylight.ovsdb.lib.schema.typed.TyperUtils

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.ovsdb.lib.schema.typed.TyperUtils.getColumnName(Method) I18N DM_CONVERT_CASE 77 Low

org.opendaylight.ovsdb.lib.schema.typed.TyperUtils$1

Bug Category Details Line Priority
Equals method for org.opendaylight.ovsdb.lib.schema.typed.TyperUtils$1 assumes the argument is of type TyperUtils$1 BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 374 Medium
org.opendaylight.ovsdb.lib.schema.typed.TyperUtils$1.equals(Object) checks for operand being a TypedBaseTable BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 374 Medium
Possible null pointer dereference of TyperUtils$1.val$row in org.opendaylight.ovsdb.lib.schema.typed.TyperUtils$1.equals(Object) CORRECTNESS NP_NULL_ON_SOME_PATH 378 Medium

org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.AbstractLibraryModule

Bug Category Details Line Priority
new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.AbstractLibraryModule(ModuleIdentifier, DependencyResolver) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 19 Medium
new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.AbstractLibraryModule(ModuleIdentifier, DependencyResolver, AbstractLibraryModule, AutoCloseable) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 19 Medium

org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.LibraryBuilder$LibraryImpl

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.opendaylight.yangtools.yang.binding.DataObject to org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.LibraryBuilder$LibraryImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.LibraryBuilder$LibraryImpl.equals(Object) STYLE BC_UNCONFIRMED_CAST 195 Low

org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.library.BrokerBuilder$BrokerImpl

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.opendaylight.yangtools.yang.binding.DataObject to org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.library.BrokerBuilder$BrokerImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.modules.module.configuration.library.BrokerBuilder$BrokerImpl.equals(Object) STYLE BC_UNCONFIRMED_CAST 211 Low