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
186 17 0 0

Files

Class Bugs
com.intel.bluetooth.BluetoothStackBlueZ 10
com.intel.bluetooth.BluetoothStackBlueZ$1 2
com.intel.bluetooth.BluetoothStackBlueZ$2 2
com.intel.bluetooth.BluetoothStackBlueZ$3 1
com.intel.bluetooth.BluetoothStackBlueZ$4 1
com.intel.bluetooth.BluetoothStackBlueZ$DiscoveryData 1

com.intel.bluetooth.BluetoothStackBlueZ

Bug Category Details Line
Dead store to $L11 in com.intel.bluetooth.BluetoothStackBlueZ.runSearchServicesImpl(SearchServicesThread, long, byte[][], long) STYLE DLS_DEAD_LOCAL_STORE 743
Inconsistent synchronization of com.intel.bluetooth.BluetoothStackBlueZ.sdpSesion; locked 70% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 330
Null pointer dereference of serviceHandles in com.intel.bluetooth.BluetoothStackBlueZ.runSearchServicesImpl(SearchServicesThread, long, byte[][], long) CORRECTNESS NP_ALWAYS_NULL 760
Load of known null value in com.intel.bluetooth.BluetoothStackBlueZ.runSearchServicesImpl(SearchServicesThread, long, byte[][], long) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 760
Should com.intel.bluetooth.BluetoothStackBlueZ.retrieveDevices(int) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 685
Exception is caught when Exception is not thrown in com.intel.bluetooth.BluetoothStackBlueZ.searchServices(int[], UUID[], RemoteDevice, DiscoveryListener) STYLE REC_CATCH_EXCEPTION 708
Private method com.intel.bluetooth.BluetoothStackBlueZ.nativeGetDeviceClass(int) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 391
Private method com.intel.bluetooth.BluetoothStackBlueZ.nativeGetDeviceID(int, long) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 188-201
Unconditional wait in com.intel.bluetooth.BluetoothStackBlueZ.runDeviceInquiryImpl(DeviceInquiryThread, int, int, int, DiscoveryListener) MT_CORRECTNESS UW_UNCOND_WAIT 588
Wait not in loop in com.intel.bluetooth.BluetoothStackBlueZ.runDeviceInquiryImpl(DeviceInquiryThread, int, int, int, DiscoveryListener) MT_CORRECTNESS WA_NOT_IN_LOOP 588

com.intel.bluetooth.BluetoothStackBlueZ$1

Bug Category Details Line
Unchecked/unconfirmed cast from org.freedesktop.dbus.DBusSignal to org.bluez.Adapter$DiscoveryCompleted in com.intel.bluetooth.BluetoothStackBlueZ$1.handle(DBusSignal) STYLE BC_UNCONFIRMED_CAST 521
The class com.intel.bluetooth.BluetoothStackBlueZ$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.intel.bluetooth.BluetoothStackBlueZ$2

Bug Category Details Line
Unchecked/unconfirmed cast from org.freedesktop.dbus.DBusSignal to org.bluez.Adapter$DiscoveryStarted in com.intel.bluetooth.BluetoothStackBlueZ$2.handle(DBusSignal) STYLE BC_UNCONFIRMED_CAST 531
The class com.intel.bluetooth.BluetoothStackBlueZ$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.intel.bluetooth.BluetoothStackBlueZ$3

Bug Category Details Line
Unchecked/unconfirmed cast from org.freedesktop.dbus.DBusSignal to org.bluez.Adapter$RemoteDeviceFound in com.intel.bluetooth.BluetoothStackBlueZ$3.handle(DBusSignal) STYLE BC_UNCONFIRMED_CAST 539

com.intel.bluetooth.BluetoothStackBlueZ$4

Bug Category Details Line
Unchecked/unconfirmed cast from org.freedesktop.dbus.DBusSignal to org.bluez.Adapter$RemoteNameUpdated in com.intel.bluetooth.BluetoothStackBlueZ$4.handle(DBusSignal) STYLE BC_UNCONFIRMED_CAST 565

com.intel.bluetooth.BluetoothStackBlueZ$DiscoveryData

Bug Category Details Line
Should com.intel.bluetooth.BluetoothStackBlueZ$DiscoveryData be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available