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
31 15 0 0

org.universAAL.middleware.context.ContextEvent

Bug Category Details Line Priority
new org.universAAL.middleware.context.ContextEvent(Resource, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 239 Medium
new org.universAAL.middleware.context.ContextEvent(Resource, String, long, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 255 Medium
new org.universAAL.middleware.context.ContextEvent(Resource, String, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 305 Medium
Suspicious comparison of Boolean references in org.universAAL.middleware.context.ContextEvent.reflectsChangeRequest() BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 438 Medium
Suspicious comparison of Boolean references in org.universAAL.middleware.context.ContextEvent.setProperty(String, Object) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 635 Medium

org.universAAL.middleware.context.ContextEventPattern

Bug Category Details Line Priority
org.universAAL.middleware.context.ContextEventPattern doesn't override org.universAAL.middleware.rdf.Resource.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
org.universAAL.middleware.context.ContextEventPattern.matches(ContextEventPattern) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 249 Medium

org.universAAL.middleware.context.ContextEventPattern$Indices

Bug Category Details Line Priority
org.universAAL.middleware.context.ContextEventPattern$Indices.getProperties() may expose internal representation by returning ContextEventPattern$Indices.props MALICIOUS_CODE EI_EXPOSE_REP 56 Medium
org.universAAL.middleware.context.ContextEventPattern$Indices.getSubjectTypes() may expose internal representation by returning ContextEventPattern$Indices.subjectTypes MALICIOUS_CODE EI_EXPOSE_REP 60 Medium
org.universAAL.middleware.context.ContextEventPattern$Indices.getSubjects() may expose internal representation by returning ContextEventPattern$Indices.subjects MALICIOUS_CODE EI_EXPOSE_REP 64 Medium
Should org.universAAL.middleware.context.ContextEventPattern$Indices be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 50 Medium

org.universAAL.middleware.context.impl.ContextBusImpl

Bug Category Details Line Priority
org.universAAL.middleware.context.impl.ContextBusImpl.startModule(Container, ModuleContext, Object[], Object[]) may expose internal static state by storing a mutable object into a static field org.universAAL.middleware.context.impl.ContextBusImpl.busFetchParams MALICIOUS_CODE EI_EXPOSE_STATIC_REP2 80 Medium
Incorrect lazy initialization of static field org.universAAL.middleware.context.impl.ContextBusImpl.theContextBus in org.universAAL.middleware.context.impl.ContextBusImpl.stopModule() MT_CORRECTNESS LI_LAZY_INIT_STATIC 86 Medium

org.universAAL.middleware.context.impl.ContextStrategy

Bug Category Details Line Priority
org.universAAL.middleware.context.impl.ContextStrategy.getAllProvisions(ContextPublisher) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 185 Medium

org.universAAL.middleware.context.owl.ContextProviderType

Bug Category Details Line Priority
org.universAAL.middleware.context.owl.ContextProviderType doesn't override org.universAAL.middleware.rdf.Resource.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium