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 |
| 73 |
14 |
0 |
0 |
org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPDispatcherImplModuleFactory
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to oldModuleClass in org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPDispatcherImplModuleFactory.handleChangedClass(DependencyResolver, DynamicMBeanWithInstance, BundleContext) |
STYLE |
DLS_DEAD_LOCAL_STORE |
78 |
Medium |
org.opendaylight.controller.config.yang.pcep.impl.PCEPDispatcherImplModule$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.controller.config.yang.pcep.impl.PCEPDispatcherImplModule$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
50 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPByteToMessageDecoder$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.protocol.pcep.impl.PCEPByteToMessageDecoder$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
60 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
76 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry$2
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry$2 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
87 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPProtocolSessionPromise$BootstrapConnectListener
| Bug |
Category |
Details |
Line |
Priority |
org.opendaylight.protocol.pcep.impl.PCEPSessionImpl
| Bug |
Category |
Details |
Line |
Priority |
| Return value of java.util.Queue.poll() ignored in org.opendaylight.protocol.pcep.impl.PCEPSessionImpl.handleMalformedMessage(PCEPErrors) |
CORRECTNESS |
RV_RETURN_VALUE_IGNORED |
301 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPSessionImpl$5
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.protocol.pcep.impl.PCEPSessionImpl$5 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
209 |
Low |
org.opendaylight.protocol.pcep.impl.PCEPSessionNegotiator$2
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.protocol.pcep.impl.PCEPSessionNegotiator$2 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
97 |
Low |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepDispatcherConfigBuilder$PcepDispatcherConfigImpl
| 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.controller.pcep.app.config.rev160707.PcepDispatcherConfigBuilder$PcepDispatcherConfigImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepDispatcherConfigBuilder$PcepDispatcherConfigImpl.equals(Object) |
STYLE |
BC_UNCONFIRMED_CAST |
195 |
Low |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepSessionConfigBuilder$PcepSessionConfigImpl
| 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.controller.pcep.app.config.rev160707.PcepSessionConfigBuilder$PcepSessionConfigImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepSessionConfigBuilder$PcepSessionConfigImpl.equals(Object) |
STYLE |
BC_UNCONFIRMED_CAST |
204 |
Low |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.pcep.dispatcher.config.TlsBuilder$TlsImpl
| 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.controller.pcep.app.config.rev160707.pcep.dispatcher.config.TlsBuilder$TlsImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.pcep.dispatcher.config.TlsBuilder$TlsImpl.equals(Object) |
STYLE |
BC_UNCONFIRMED_CAST |
347 |
Low |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.impl.rev130627.modules.module.configuration.PcepDispatcherImplBuilder$PcepDispatcherImplImpl
| 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.controller.pcep.impl.rev130627.modules.module.configuration.PcepDispatcherImplBuilder$PcepDispatcherImplImpl in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.impl.rev130627.modules.module.configuration.PcepDispatcherImplBuilder$PcepDispatcherImplImpl.equals(Object) |
STYLE |
BC_UNCONFIRMED_CAST |
141 |
Low |