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
402 18 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 2
com.intel.bluetooth.BluetoothStackOSX 3
com.intel.bluetooth.DebugLog 3
com.intel.bluetooth.NativeLibLoader 3
com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo 1

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 112

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 262

com.intel.bluetooth.BluetoothConnectionNotifierBase

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

com.intel.bluetooth.BluetoothConnectionNotifierParams

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

com.intel.bluetooth.MicroeditionConnector

Bug Category Details Line
Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.timeouts PERFORMANCE URF_UNREAD_FIELD 300
Unread field: com.intel.bluetooth.BluetoothConnectionParams.timeouts PERFORMANCE URF_UNREAD_FIELD 347

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 660
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 131
Private method com.intel.bluetooth.BluetoothStackOSX.isLocalDeviceFeatureSwitchRoles() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD Not available

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 234
Useless control flow in com.intel.bluetooth.DebugLog.initialize() STYLE UCF_USELESS_CONTROL_FLOW 95
Useless control flow in com.intel.bluetooth.DebugLog.setDebugEnabled(boolean) STYLE UCF_USELESS_CONTROL_FLOW 127

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 338
Dead store of null to is in com.intel.bluetooth.NativeLibLoader.loadAsSystemResource(String, Class) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 300
Private method com.intel.bluetooth.NativeLibLoader.tryloadPathIBMj9MIDP(String, String) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 255-261

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 102