The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 402 | 18 | 0 | 0 |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should com.intel.bluetooth.BlueCoveImpl$AsynchronousShutdownThread be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.BluetoothConnectionNotifierBase.shutdownConnections(BluetoothStack) | STYLE | DLS_DEAD_LOCAL_STORE | 60 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.master | PERFORMANCE | URF_UNREAD_FIELD | 62 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo.shutdownConnections() | STYLE | DLS_DEAD_LOCAL_STORE | 102 |