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
23 23 0 0

org.universAAL.samples.ctxtbus.Activator

Bug Category Details Line Priority
org.universAAL.samples.ctxtbus.Activator.context should be package protected MALICIOUS_CODE MS_PKGPROTECT 34 Medium
org.universAAL.samples.ctxtbus.Activator.cpublisher should be package protected MALICIOUS_CODE MS_PKGPROTECT 37 Medium
org.universAAL.samples.ctxtbus.Activator.csubscriber should be package protected MALICIOUS_CODE MS_PKGPROTECT 35 Medium
org.universAAL.samples.ctxtbus.Activator.csubscriber2 should be package protected MALICIOUS_CODE MS_PKGPROTECT 36 Medium
org.universAAL.samples.ctxtbus.Activator.hcaller should be package protected MALICIOUS_CODE MS_PKGPROTECT 38 Medium
org.universAAL.samples.ctxtbus.Activator.panel should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.samples.ctxtbus.Activator.parser should be package protected MALICIOUS_CODE MS_PKGPROTECT 44 Medium
org.universAAL.samples.ctxtbus.Activator.pcaller should be package protected MALICIOUS_CODE MS_PKGPROTECT 39 Medium
org.universAAL.samples.ctxtbus.Activator.scaller should be package protected MALICIOUS_CODE MS_PKGPROTECT 40 Medium
org.universAAL.samples.ctxtbus.Activator.ser should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
Switch statement found in org.universAAL.samples.ctxtbus.Activator.serviceChanged(ServiceEvent) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 77 Medium
Write to static field org.universAAL.samples.ctxtbus.Activator.parser from instance method org.universAAL.samples.ctxtbus.Activator.serviceChanged(ServiceEvent) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 80 Medium
Write to static field org.universAAL.samples.ctxtbus.Activator.context from instance method org.universAAL.samples.ctxtbus.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 47 Medium

org.universAAL.samples.ctxtbus.CPublisher

Bug Category Details Line Priority
Primitive value is boxed and then immediately unboxed in org.universAAL.samples.ctxtbus.CPublisher.getSample(int) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 156 Medium
org.universAAL.samples.ctxtbus.CPublisher.getSample(int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 177 Medium
org.universAAL.samples.ctxtbus.CPublisher.sendSituation() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 187 Medium
org.universAAL.samples.ctxtbus.CPublisher.getSample(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 145 Medium
org.universAAL.samples.ctxtbus.CPublisher.initSamples() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 108 Medium

org.universAAL.samples.ctxtbus.GUIPanel

Bug Category Details Line Priority
Primitive value is boxed and then immediately unboxed in org.universAAL.samples.ctxtbus.GUIPanel.getSample(int) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 724 Medium
org.universAAL.samples.ctxtbus.GUIPanel.getSample(int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 745 Medium
org.universAAL.samples.ctxtbus.GUIPanel.getSample(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 713 Medium

org.universAAL.samples.ctxtbus.HistoryCaller

Bug Category Details Line Priority
org.universAAL.samples.ctxtbus.HistoryCaller.getGetEventsRequest(ContextEvent, long, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 118 Medium

org.universAAL.samples.ctxtbus.SpaceCaller

Bug Category Details Line Priority
org.universAAL.samples.ctxtbus.SpaceCaller.getListOfResults(ServiceResponse) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 627 Medium