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

org.universAAL.tools.ucc.profile.agent.impl.ProfileAgentImpl

Bug Category Details Line Priority
Write to static field org.universAAL.tools.ucc.profile.agent.impl.ProfileAgentImpl.caller from instance method new org.universAAL.tools.ucc.profile.agent.impl.ProfileAgentImpl(ModuleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 54 High

org.universAAL.tools.ucc.profile.agent.osgi.Activator

Bug Category Details Line Priority
instanceof will always return true for all non-null values in org.universAAL.tools.ucc.profile.agent.osgi.Activator.test(), since all org.universAAL.ontology.profile.User are instances of org.universAAL.ontology.profile.User STYLE BC_VACUOUS_INSTANCEOF 202 Medium
instanceof will always return true for all non-null values in org.universAAL.tools.ucc.profile.agent.osgi.Activator.testSpaceServer(), since all org.universAAL.ontology.phThing.Device are instances of org.universAAL.ontology.phThing.Device STYLE BC_VACUOUS_INSTANCEOF 100 Medium
Dead store to spaceProfile in org.universAAL.tools.ucc.profile.agent.osgi.Activator.test() STYLE DLS_DEAD_LOCAL_STORE 160 High
Dead store to userProfile in org.universAAL.tools.ucc.profile.agent.osgi.Activator.test() STYLE DLS_DEAD_LOCAL_STORE 159 High
Dead store to userProfile2 in org.universAAL.tools.ucc.profile.agent.osgi.Activator.test() STYLE DLS_DEAD_LOCAL_STORE 164 High
org.universAAL.tools.ucc.profile.agent.osgi.Activator.context should be package protected MALICIOUS_CODE MS_PKGPROTECT 21 Medium
Write to static field org.universAAL.tools.ucc.profile.agent.osgi.Activator.context from instance method org.universAAL.tools.ucc.profile.agent.osgi.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 33 Medium