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

org.universAAL.middleware.container.osgi.OSGiContainer

Bug Category Details Line Priority
Null passed for non-null parameter of OSGiModuleContext.removeSharedObject(String, Object, Dictionary) in org.universAAL.middleware.container.osgi.OSGiContainer.removeSharedObject(ModuleContext, Object, Object[]) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 306 Medium
Null passed for non-null parameter of OSGiModuleContext.shareObject(String, Object, Dictionary) in org.universAAL.middleware.container.osgi.OSGiContainer.shareObject(ModuleContext, Object, Object[]) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 259 Medium

org.universAAL.middleware.container.osgi.OSGiModuleContext

Bug Category Details Line Priority
org.universAAL.middleware.container.osgi.OSGiModuleContext.loadUniversAALAttribute() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 84 Medium

org.universAAL.middleware.container.osgi.run.Activator

Bug Category Details Line Priority
org.universAAL.middleware.container.osgi.run.Activator.mc should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium

org.universAAL.middleware.container.osgi.run.OSGiExtender

Bug Category Details Line Priority
org.universAAL.middleware.container.osgi.run.OSGiExtender.doStart(Bundle) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 124 Medium
org.universAAL.middleware.container.osgi.run.OSGiExtender.doStop(Bundle) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 145 Medium
Switch statement found in org.universAAL.middleware.container.osgi.run.OSGiExtender.bundleChanged(BundleEvent) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 160 Medium

org.universAAL.middleware.container.osgi.run.OSGiExtender$ActivatorExecutor

Bug Category Details Line Priority
Should org.universAAL.middleware.container.osgi.run.OSGiExtender$ActivatorExecutor be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 176 Medium