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
10 14 0 0

org.universAAL.samples.lighting.client_regular.Activator

Bug Category Details Line Priority
org.universAAL.samples.lighting.client_regular.Activator.mc should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium

org.universAAL.samples.lighting.client_regular.LightClient

Bug Category Details Line Priority
Changes to logger could be lost in org.universAAL.samples.lighting.client_regular.LightClient.<static initializer for LightClient>() EXPERIMENTAL LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE 59 High
Write to static field org.universAAL.samples.lighting.client_regular.LightClient.jList1 from instance method org.universAAL.samples.lighting.client_regular.LightClient.start(Device[]) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 111 High
Write to static field org.universAAL.samples.lighting.client_regular.LightClient.offButton from instance method org.universAAL.samples.lighting.client_regular.LightClient.start(Device[]) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 83 High
Write to static field org.universAAL.samples.lighting.client_regular.LightClient.onButton from instance method org.universAAL.samples.lighting.client_regular.LightClient.start(Device[]) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 76 High

org.universAAL.samples.lighting.client_regular.LightClient$4

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.universAAL.samples.lighting.client_regular.LightClient$4.actionPerformed(ActionEvent) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 181 High
org.universAAL.samples.lighting.client_regular.LightClient$4.actionPerformed(ActionEvent) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 182 Medium

org.universAAL.samples.lighting.client_regular.LightingConsumerLevel1

Bug Category Details Line Priority
org.universAAL.samples.lighting.client_regular.LightingConsumerLevel1.turnOff(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 113 Medium
org.universAAL.samples.lighting.client_regular.LightingConsumerLevel1.turnOn(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 98 Medium
Write to static field org.universAAL.samples.lighting.client_regular.LightingConsumerLevel1.caller from instance method new org.universAAL.samples.lighting.client_regular.LightingConsumerLevel1(ModuleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 55 High

org.universAAL.samples.lighting.client_regular.LightingConsumerLevel2

Bug Category Details Line Priority
org.universAAL.samples.lighting.client_regular.LightingConsumerLevel2.turnOff(LightSource) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 114 Medium
org.universAAL.samples.lighting.client_regular.LightingConsumerLevel2.turnOn(LightSource) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 97 Medium
Write to static field org.universAAL.samples.lighting.client_regular.LightingConsumerLevel2.caller from instance method new org.universAAL.samples.lighting.client_regular.LightingConsumerLevel2(ModuleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 52 High

org.universAAL.samples.lighting.client_regular.LightingConsumerLevel3

Bug Category Details Line Priority
Write to static field org.universAAL.samples.lighting.client_regular.LightingConsumerLevel3.caller from instance method new org.universAAL.samples.lighting.client_regular.LightingConsumerLevel3(ModuleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 50 High