FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
235 21 0 0

org.springframework.osgi.compendium.config.ManagedServiceFactoryDefinitionParser

Bug Category Details Line Priority
Possible null pointer dereference of ns in org.springframework.osgi.compendium.config.ManagedServiceFactoryDefinitionParser.doParse(Element, ParserContext, BeanDefinitionBuilder) CORRECTNESS NP_NULL_ON_SOME_PATH 85 Medium

org.springframework.osgi.compendium.internal.cm.ManagedServiceFactoryFactoryBean

Bug Category Details Line Priority
org.springframework.osgi.compendium.internal.cm.ManagedServiceFactoryFactoryBean.setInterfaces(Class[]) may expose internal representation by storing an externally mutable object into ManagedServiceFactoryFactoryBean.interfaces MALICIOUS_CODE EI_EXPOSE_REP2 431 Medium
org.springframework.osgi.compendium.internal.cm.ManagedServiceFactoryFactoryBean.setListeners(OsgiServiceRegistrationListener[]) may expose internal representation by storing an externally mutable object into ManagedServiceFactoryFactoryBean.listeners MALICIOUS_CODE EI_EXPOSE_REP2 385 Medium

org.springframework.osgi.context.event.ApplicationListenerAdapter

Bug Category Details Line Priority
org.springframework.osgi.context.event.ApplicationListenerAdapter.equals(Object) checks for operand being a OsgiBundleApplicationContextListener BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 50 Medium

org.springframework.osgi.context.internal.classloader.CachingAopClassLoaderFactory

Bug Category Details Line Priority

org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext

Bug Category Details Line Priority
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.setConfigLocations(String[]) may expose internal representation by storing an externally mutable object into AbstractOsgiBundleApplicationContext.configLocations MALICIOUS_CODE EI_EXPOSE_REP2 176 Medium

org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean

Bug Category Details Line Priority
org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.getInterfaces() may expose internal representation by returning OsgiServiceFactoryBean.interfaces MALICIOUS_CODE EI_EXPOSE_REP 543 Medium
org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.setInterfaces(Class[]) may expose internal representation by storing an externally mutable object into OsgiServiceFactoryBean.interfaces MALICIOUS_CODE EI_EXPOSE_REP2 553 Medium

org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory

Bug Category Details Line Priority
new org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory(Class[], Object, BeanFactory, String, boolean, ClassLoader, ClassLoader, BundleContext) may expose internal representation by storing an externally mutable object into PublishingServiceFactory.classes MALICIOUS_CODE EI_EXPOSE_REP2 80 Medium

org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean

Bug Category Details Line Priority
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.getInterfaces() may expose internal representation by returning AbstractOsgiServiceImportFactoryBean.interfaces MALICIOUS_CODE EI_EXPOSE_REP 218 Medium
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.getListeners() may expose internal representation by returning AbstractOsgiServiceImportFactoryBean.listeners MALICIOUS_CODE EI_EXPOSE_REP 236 Medium
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.setInterfaces(Class[]) may expose internal representation by storing an externally mutable object into AbstractOsgiServiceImportFactoryBean.interfaces MALICIOUS_CODE EI_EXPOSE_REP2 132 Medium
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.setListeners(OsgiServiceLifecycleListener[]) may expose internal representation by storing an externally mutable object into AbstractOsgiServiceImportFactoryBean.listeners MALICIOUS_CODE EI_EXPOSE_REP2 170 Medium

org.springframework.osgi.service.importer.support.StaticServiceProxyCreator

Bug Category Details Line Priority
Invocation of toString on classes in org.springframework.osgi.service.importer.support.StaticServiceProxyCreator.discoverProxyClasses(ServiceReference) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 142 High

org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor

Bug Category Details Line Priority
org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.getListeners() may expose internal representation by returning ServiceDynamicInterceptor.listeners MALICIOUS_CODE EI_EXPOSE_REP 520 Medium
org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.setListeners(OsgiServiceLifecycleListener[]) may expose internal representation by storing an externally mutable object into ServiceDynamicInterceptor.listeners MALICIOUS_CODE EI_EXPOSE_REP2 524 Medium

org.springframework.osgi.service.importer.support.internal.aop.SwappingServiceReferenceProxy

Bug Category Details Line Priority
Inconsistent synchronization of org.springframework.osgi.service.importer.support.internal.aop.SwappingServiceReferenceProxy.delegate; locked 82% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 85 Medium

org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection

Bug Category Details Line Priority
org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection.setListeners(OsgiServiceLifecycleListener[]) may expose internal representation by storing an externally mutable object into OsgiServiceCollection.listeners MALICIOUS_CODE EI_EXPOSE_REP2 421 Medium

org.springframework.osgi.util.DebugUtils

Bug Category Details Line Priority
Dead store to highEqualTo in org.springframework.osgi.util.DebugUtils.getVersion(String, String) STYLE DLS_DEAD_LOCAL_STORE 381 Medium
Dead store to highLessThen in org.springframework.osgi.util.DebugUtils.getVersion(String, String) STYLE DLS_DEAD_LOCAL_STORE 382 Medium
Dead store to right in org.springframework.osgi.util.DebugUtils.getVersion(String, String) STYLE DLS_DEAD_LOCAL_STORE 390 Medium