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 |
|---|---|---|---|
| 420 | 27 | 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 | 119 |
| 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 | 260 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.BluetoothConnectionNotifierBase.shutdownConnections(BluetoothStack) | STYLE | DLS_DEAD_LOCAL_STORE | 63 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.master | PERFORMANCE | URF_UNREAD_FIELD | 66 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.timeouts | PERFORMANCE | URF_UNREAD_FIELD | 299 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo.shutdownConnections() | STYLE | DLS_DEAD_LOCAL_STORE | 103 |
| 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 |