FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
9 23 0 0

org.universAAL.lddi.fs20.exporter.Activator

Bug Category Details Line Priority
Dead store to objectClass in org.universAAL.lddi.fs20.exporter.Activator.serviceChanged(ServiceEvent) STYLE DLS_DEAD_LOCAL_STORE 96 Medium
org.universAAL.lddi.fs20.exporter.Activator.context should be package protected MALICIOUS_CODE MS_PKGPROTECT 52 Medium
org.universAAL.lddi.fs20.exporter.Activator.mc should be package protected MALICIOUS_CODE MS_PKGPROTECT 154 Medium
Read of unwritten field thread in org.universAAL.lddi.fs20.exporter.Activator.stop(BundleContext) CORRECTNESS NP_UNWRITTEN_FIELD 87 Medium
org.universAAL.lddi.fs20.exporter.Activator.start(BundleContext) explicitly invokes run on a thread (did you mean to start it instead?) MT_CORRECTNESS RU_INVOKE_RUN 82 High
Switch statement found in org.universAAL.lddi.fs20.exporter.Activator.serviceChanged(ServiceEvent) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 102 Medium
Write to static field org.universAAL.lddi.fs20.exporter.Activator.context from instance method org.universAAL.lddi.fs20.exporter.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 65 Medium
Unwritten field: org.universAAL.lddi.fs20.exporter.Activator.thread CORRECTNESS UWF_UNWRITTEN_FIELD 87 Medium

org.universAAL.lddi.fs20.exporter.FS20ContextPublisher

Bug Category Details Line Priority
Switch statement found in org.universAAL.lddi.fs20.exporter.FS20ContextPublisher.publishContextEvent(FS20Device, int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 84 Medium

org.universAAL.lddi.fs20.exporter.FS20Server

Bug Category Details Line Priority
Primitive value is boxed and then immediately unboxed in org.universAAL.lddi.fs20.exporter.FS20Server._activateGong(String) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 391 Medium
Primitive value is boxed and then immediately unboxed in org.universAAL.lddi.fs20.exporter.FS20Server._startAnimation(String, Byte) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 358 Medium
Primitive value is boxed and then immediately unboxed in org.universAAL.lddi.fs20.exporter.FS20Server._turnOffFS20ST(String) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 459 Medium
Primitive value is boxed and then immediately unboxed in org.universAAL.lddi.fs20.exporter.FS20Server._turnOnFS20ST(String) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 425 Medium
org.universAAL.lddi.fs20.exporter.FS20Server._activateGong(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 391 Medium
org.universAAL.lddi.fs20.exporter.FS20Server._startAnimation(String, Byte) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 358 Medium
org.universAAL.lddi.fs20.exporter.FS20Server._turnOffFS20ST(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 459 Medium
org.universAAL.lddi.fs20.exporter.FS20Server._turnOnFS20ST(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 425 Medium
Primitive boxed just to call toString in org.universAAL.lddi.fs20.exporter.FS20Server.handleCall(ServiceCall) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 161 Medium
org.universAAL.lddi.fs20.exporter.FS20Server.handleCall(ServiceCall) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 160 Medium
org.universAAL.lddi.fs20.exporter.FS20Server.initMap() invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead PERFORMANCE DM_NUMBER_CTOR 327 Medium
org.universAAL.lddi.fs20.exporter.FS20Server.startAnimation(String, byte) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead PERFORMANCE DM_NUMBER_CTOR 316 Medium

org.universAAL.lddi.fs20.exporter.ProvidedFS20Service

Bug Category Details Line Priority
org.universAAL.lddi.fs20.exporter.ProvidedFS20Service.<static initializer for ProvidedFS20Service>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 204 Medium
org.universAAL.lddi.fs20.exporter.ProvidedFS20Service.<static initializer for ProvidedFS20Service>() invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 190 Medium