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 |
|---|---|---|---|
| 126 | 22 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method com.intel.bluetooth.BlueZServiceRecordXML.exportXMLRecord(ServiceRecord) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 182 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to remoteDeviceAddress in com.intel.bluetooth.BluetoothStackBlueZDBus.populateServicesRecordAttributeValues(ServiceRecordImpl, int[]) | STYLE | DLS_DEAD_LOCAL_STORE | 695 | Medium |
| Unread field: com.intel.bluetooth.BluetoothStackBlueZDBus.l2cap_receiveMTU_max; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 84 | Medium |
| Method com.intel.bluetooth.BluetoothStackBlueZDBus.runDeviceInquiry(DeviceInquiryThread, int, DiscoveryListener) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 498 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should com.intel.bluetooth.BluetoothStackBlueZDBus$DiscoveryData be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 108 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.bluecove.socket.Credentials defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 62-65 | High |
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.bluez.v3.Adapter$RemoteIdentifiersUpdated.getIdentifiers() may expose internal representation by returning Adapter$RemoteIdentifiersUpdated.identifiers | MALICIOUS_CODE | EI_EXPOSE_REP | 879 | Medium |
| new org.bluez.v3.Adapter$RemoteIdentifiersUpdated(String, String, String[]) may expose internal representation by storing an externally mutable object into Adapter$RemoteIdentifiersUpdated.identifiers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 868 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Vacuous ior operation on record in org.bluez.v3.BlueZAPIV3.getAdapterDeviceClass() | STYLE | INT_VACUOUS_BIT_OPERATION | 204 | Medium |
| Null pointer dereference of ? in org.bluez.v3.BlueZAPIV3.getAdapter(int) | CORRECTNESS | NP_ALWAYS_NULL | 124 | Medium |
| Null pointer dereference of ? in org.bluez.v3.BlueZAPIV3.getAdapter(int) | CORRECTNESS | NP_ALWAYS_NULL | 127 | Medium |
| Unconditional wait in org.bluez.v3.BlueZAPIV3.deviceInquiry(BlueZAPI$DeviceInquiryListener) | MT_CORRECTNESS | UW_UNCOND_WAIT | 425 | Medium |
| Unconditional wait in org.bluez.v3.BlueZAPIV3.getRemoteDeviceFriendlyName(String) | MT_CORRECTNESS | UW_UNCOND_WAIT | 490 | Medium |
| Wait not in loop in org.bluez.v3.BlueZAPIV3.deviceInquiry(BlueZAPI$DeviceInquiryListener) | MT_CORRECTNESS | WA_NOT_IN_LOOP | 425 | Medium |
| Wait not in loop in org.bluez.v3.BlueZAPIV3.getRemoteDeviceFriendlyName(String) | MT_CORRECTNESS | WA_NOT_IN_LOOP | 490 | Medium |
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Null pointer dereference of ? in org.bluez.v4.BlueZAPIV4.getAdapter(int) | CORRECTNESS | NP_ALWAYS_NULL | 105 | Medium |
| Null pointer dereference of ? in org.bluez.v4.BlueZAPIV4.getAdapter(int) | CORRECTNESS | NP_ALWAYS_NULL | 108 | Medium |
| Bug | Category | Details | Line | Priority |
|---|
| Bug | Category | Details | Line | Priority |
|---|