FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
420 27 0 0

Files

Class Bugs
com.intel.bluetooth.BlueCoveConfigProperties 1
com.intel.bluetooth.BlueCoveImpl$AsynchronousShutdownThread 1
com.intel.bluetooth.BlueCoveImpl$ShutdownHookThread 2
com.intel.bluetooth.BluetoothConnectionNotifierBase 1
com.intel.bluetooth.BluetoothConnectionNotifierParams 1
com.intel.bluetooth.MicroeditionConnector 1
com.intel.bluetooth.BluetoothStackBlueSoleil 1
com.intel.bluetooth.BluetoothStackMicrosoft 2
com.intel.bluetooth.BluetoothStackOSX 4
com.intel.bluetooth.BluetoothStackToshiba 2
com.intel.bluetooth.BluetoothStackWIDCOMM 1
com.intel.bluetooth.DebugLog 3
com.intel.bluetooth.MicroeditionConnector 1
com.intel.bluetooth.NativeLibLoader 3
com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo 1
com.intel.bluetooth.obex.OBEXSessionBase 2

com.intel.bluetooth.BlueCoveConfigProperties

Bug Category Details Line
com.intel.bluetooth.BlueCoveConfigProperties.INITIALIZATION_PROPERTIES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 119

com.intel.bluetooth.BlueCoveImpl$AsynchronousShutdownThread

Bug Category Details Line
Should com.intel.bluetooth.BlueCoveImpl$AsynchronousShutdownThread be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

com.intel.bluetooth.BlueCoveImpl$ShutdownHookThread

Bug Category Details Line
Should com.intel.bluetooth.BlueCoveImpl$ShutdownHookThread be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available
Wait not in loop in com.intel.bluetooth.BlueCoveImpl$ShutdownHookThread.run() MT_CORRECTNESS WA_NOT_IN_LOOP 260

com.intel.bluetooth.BluetoothConnectionNotifierBase

Bug Category Details Line
Dead store to c2shutdown in com.intel.bluetooth.BluetoothConnectionNotifierBase.shutdownConnections(BluetoothStack) STYLE DLS_DEAD_LOCAL_STORE 63

com.intel.bluetooth.BluetoothConnectionNotifierParams

Bug Category Details Line
Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.master PERFORMANCE URF_UNREAD_FIELD 66

com.intel.bluetooth.MicroeditionConnector

Bug Category Details Line
Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.timeouts PERFORMANCE URF_UNREAD_FIELD 299

com.intel.bluetooth.BluetoothStackBlueSoleil

Bug Category Details Line
Should com.intel.bluetooth.BluetoothStackBlueSoleil.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 220

com.intel.bluetooth.BluetoothStackMicrosoft

Bug Category Details Line
com.intel.bluetooth.BluetoothStackMicrosoft.connectionRfOpenClientConnection(BluetoothConnectionParams) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 695
Should com.intel.bluetooth.BluetoothStackMicrosoft.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 335

com.intel.bluetooth.BluetoothStackOSX

Bug Category Details Line
Method com.intel.bluetooth.BluetoothStackOSX.sdpServiceUpdateServiceRecord(long, char, ServiceRecordImpl) uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 666
Should com.intel.bluetooth.BluetoothStackOSX.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 304
Write to static field com.intel.bluetooth.BluetoothStackOSX.singleInstance from instance method com.intel.bluetooth.BluetoothStackOSX.destroy() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 134
Private method com.intel.bluetooth.BluetoothStackOSX.isLocalDeviceFeatureSwitchRoles() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD Not available

com.intel.bluetooth.BluetoothStackToshiba

Bug Category Details Line
com.intel.bluetooth.BluetoothStackToshiba.setAttributes(ServiceRecordImpl, int[], byte[]) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 445
Should com.intel.bluetooth.BluetoothStackToshiba.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 149

com.intel.bluetooth.BluetoothStackWIDCOMM

Bug Category Details Line
Should com.intel.bluetooth.BluetoothStackWIDCOMM.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 297

com.intel.bluetooth.DebugLog

Bug Category Details Line
Primitive boxed just to call toString in com.intel.bluetooth.DebugLog.debug(String, byte[], int, int) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 229
Useless control flow in com.intel.bluetooth.DebugLog.initialize() STYLE UCF_USELESS_CONTROL_FLOW 90
Useless control flow in com.intel.bluetooth.DebugLog.setDebugEnabled(boolean) STYLE UCF_USELESS_CONTROL_FLOW 122

com.intel.bluetooth.MicroeditionConnector

Bug Category Details Line
Check for oddness that won't work for negative numbers in com.intel.bluetooth.MicroeditionConnector.validateL2CAPPSM(int, String) STYLE IM_BAD_CHECK_FOR_ODD 448

com.intel.bluetooth.NativeLibLoader

Bug Category Details Line
Dead store of null to fos in com.intel.bluetooth.NativeLibLoader.copy2File(InputStream, File) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 339
Dead store of null to is in com.intel.bluetooth.NativeLibLoader.loadAsSystemResource(String, Class) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 301
Private method com.intel.bluetooth.NativeLibLoader.tryloadPathIBMj9MIDP(String, String) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 256-262

com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo

Bug Category Details Line
Dead store to c2shutdown in com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo.shutdownConnections() STYLE DLS_DEAD_LOCAL_STORE 103

com.intel.bluetooth.obex.OBEXSessionBase

Bug Category Details Line
Null pointer dereference of OBEXSessionBase.authChallengesSent in com.intel.bluetooth.obex.OBEXSessionBase.handleAuthenticationResponse(OBEXHeaderSetImpl, ServerRequestHandler) CORRECTNESS NP_ALWAYS_NULL 244
Redundant nullcheck of com.intel.bluetooth.obex.OBEXSessionBase.authChallengesSent, which is known to be non-null in com.intel.bluetooth.obex.OBEXSessionBase.handleAuthenticationResponse(OBEXHeaderSetImpl, ServerRequestHandler) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 252