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 |
| 7 |
10 |
0 |
0 |
org.opendaylight.netvirt.neutronvpn.shell.ConfigureL3VpnCommand
| Bug |
Category |
Details |
Line |
Priority |
| Possible null pointer dereference of createL3VpnRpcResult in org.opendaylight.netvirt.neutronvpn.shell.ConfigureL3VpnCommand.createL3VpnCLI() on exception path |
CORRECTNESS |
NP_NULL_ON_SOME_PATH_EXCEPTION |
180 |
Medium |
| Switch statement found in org.opendaylight.netvirt.neutronvpn.shell.ConfigureL3VpnCommand.getHelp(String) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
282 |
Medium |
org.opendaylight.netvirt.neutronvpn.shell.DhcpConfigureCommand
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to result in org.opendaylight.netvirt.neutronvpn.shell.DhcpConfigureCommand.read(InstanceIdentifier) |
STYLE |
DLS_DEAD_LOCAL_STORE |
105 |
Low |
org.opendaylight.netvirt.neutronvpn.shell.DhcpShowCommand
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to result in org.opendaylight.netvirt.neutronvpn.shell.DhcpShowCommand.read(InstanceIdentifier) |
STYLE |
DLS_DEAD_LOCAL_STORE |
63 |
Low |
org.opendaylight.netvirt.neutronvpn.shell.ShowNeutronPortsCommand
| Bug |
Category |
Details |
Line |
Priority |
| ShowNeutronPortsCommand.neutronVpnManager not initialized in constructor and dereferenced in org.opendaylight.netvirt.neutronvpn.shell.ShowNeutronPortsCommand.doExecute() |
STYLE |
UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR |
25 |
Low |
org.opendaylight.netvirt.neutronvpn.shell.ShowSubnet
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to result in org.opendaylight.netvirt.neutronvpn.shell.ShowSubnet.read(LogicalDatastoreType, InstanceIdentifier) |
STYLE |
DLS_DEAD_LOCAL_STORE |
114 |
Low |
| Exception is caught when Exception is not thrown in org.opendaylight.netvirt.neutronvpn.shell.ShowSubnet.doExecute() |
STYLE |
REC_CATCH_EXCEPTION |
101 |
Low |
org.opendaylight.netvirt.neutronvpn.shell.ShowVpnConfigCommand
| Bug |
Category |
Details |
Line |
Priority |
| ShowVpnConfigCommand.neutronVpnManager not initialized in constructor and dereferenced in org.opendaylight.netvirt.neutronvpn.shell.ShowVpnConfigCommand.doExecute() |
STYLE |
UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR |
37 |
Low |
org.opendaylight.netvirt.neutronvpn.shell.ShowVpnIpToPort
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to result in org.opendaylight.netvirt.neutronvpn.shell.ShowVpnIpToPort.read(LogicalDatastoreType, InstanceIdentifier) |
STYLE |
DLS_DEAD_LOCAL_STORE |
111 |
Low |
| Exception is caught when Exception is not thrown in org.opendaylight.netvirt.neutronvpn.shell.ShowVpnIpToPort.doExecute() |
STYLE |
REC_CATCH_EXCEPTION |
100 |
Low |