The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 170 | 35 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.intel.bluetooth.BlueCoveConfigProperties.INITIALIZATION_PROPERTIES should be moved out of an interface and made package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 131 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Incorrect lazy initialization of static field com.intel.bluetooth.BlueCoveImpl.singleStack in com.intel.bluetooth.BlueCoveImpl.currentStackHolder(boolean) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 1046-1047 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should com.intel.bluetooth.BlueCoveImpl$AsynchronousShutdownThread be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 211-256 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should com.intel.bluetooth.BlueCoveImpl$ShutdownHookThread be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 263-286 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.BluetoothConnectionNotifierBase.shutdownConnections(BluetoothStack) | STYLE | DLS_DEAD_LOCAL_STORE | 63 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.master | PERFORMANCE | URF_UNREAD_FIELD | 66 | Medium |
| Unread field: com.intel.bluetooth.BluetoothConnectionNotifierParams.timeouts | PERFORMANCE | URF_UNREAD_FIELD | 294 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.intel.bluetooth.BluetoothStackBlueSoleil.isRemoteDeviceAuthenticated(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 228 | Medium |
| com.intel.bluetooth.BluetoothStackBlueSoleil.isRemoteDeviceTrusted(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 224 | Medium |
| Method call in com.intel.bluetooth.BluetoothStackBlueSoleil.runSearchServices(SearchServicesThread, int[], UUID[], RemoteDevice, DiscoveryListener) passes null for nonnull parameter of Utils.UUIDToByteArray(UUID) | CORRECTNESS | NP_NULL_PARAM_DEREF | 318 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Incorrect lazy initialization of static field com.intel.bluetooth.BluetoothStackMicrosoft.singleInstance in com.intel.bluetooth.BluetoothStackMicrosoft.initialize() | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 117-127 | Medium |
| com.intel.bluetooth.BluetoothStackMicrosoft.isRemoteDeviceAuthenticated(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 366 | Medium |
| com.intel.bluetooth.BluetoothStackMicrosoft.isRemoteDeviceTrusted(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 357 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of com.intel.bluetooth.BluetoothStackOSX.localDeviceServiceClasses; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 189 | Medium |
| Incorrect lazy initialization of static field com.intel.bluetooth.BluetoothStackOSX.singleInstance in com.intel.bluetooth.BluetoothStackOSX.initialize() | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 119-136 | Medium |
| 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 | 143 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.intel.bluetooth.BluetoothStackToshiba.isRemoteDeviceAuthenticated(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 157 | Medium |
| com.intel.bluetooth.BluetoothStackToshiba.isRemoteDeviceTrusted(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 153 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Incorrect lazy initialization of static field com.intel.bluetooth.BluetoothStackWIDCOMM.singleInstance in com.intel.bluetooth.BluetoothStackWIDCOMM.initialize() | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 127-134 | Medium |
| com.intel.bluetooth.BluetoothStackWIDCOMM.isRemoteDeviceAuthenticated(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 307 | Medium |
| com.intel.bluetooth.BluetoothStackWIDCOMM.isRemoteDeviceTrusted(long) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 303 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Check for oddness that won't work for negative numbers in com.intel.bluetooth.MicroeditionConnector.validateL2CAPPSM(int, String) | STYLE | IM_BAD_CHECK_FOR_ODD | 460 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in com.intel.bluetooth.NativeLibLoader.getOS() | STYLE | REC_CATCH_EXCEPTION | 118 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to c2shutdown in com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo.shutdownConnections() | STYLE | DLS_DEAD_LOCAL_STORE | 105 | Medium |
| com.intel.bluetooth.RemoteDeviceHelper$RemoteDeviceWithExtendedInfo doesn't override javax.bluetooth.RemoteDevice.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 55-316 | Medium |
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of com.intel.bluetooth.obex.OBEXHeaderSetImpl.authChallenges; locked 45% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 306 | Medium |
| Inconsistent synchronization of com.intel.bluetooth.obex.OBEXHeaderSetImpl.authResponses; locked 45% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 495 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| canCloseEvent isn't initialized in com.intel.bluetooth.obex.OBEXServerSessionImpl.close() when invoked from constructor for superclass | CORRECTNESS | UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR | 101 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Null pointer dereference of OBEXSessionBase.authChallengesSent in com.intel.bluetooth.obex.OBEXSessionBase.handleAuthenticationResponse(OBEXHeaderSetImpl, ServerRequestHandler) | CORRECTNESS | NP_ALWAYS_NULL | 243 | High |