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
187 18 0 0

org.codehaus.plexus.DefaultContainerConfiguration

Bug Category Details Line Priority
La méthode org.codehaus.plexus.DefaultContainerConfiguration.getInitializationPhases() risque d'exposer sa représentation interne en renvoyant org.codehaus.plexus.DefaultContainerConfiguration.initializationPhases MALICIOUS_CODE EI_EXPOSE_REP 147 Medium
La méthode org.codehaus.plexus.DefaultContainerConfiguration.setInitializationPhases(ContainerInitializationPhase[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.codehaus.plexus.DefaultContainerConfiguration.initializationPhases MALICIOUS_CODE EI_EXPOSE_REP2 140 Medium

org.codehaus.plexus.DefaultPlexusContainer

Bug Category Details Line Priority
Useless object stored in variable componentSetDescriptors of method org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(ClassRealm, Object) STYLE UC_USELESS_OBJECT 947 Medium

org.codehaus.plexus.PlexusJUnit4TestCase

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdir() ignored in org.codehaus.plexus.PlexusJUnit4TestCase.setupContainer() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 72 Medium

org.codehaus.plexus.PlexusTestCase

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdir() ignored in org.codehaus.plexus.PlexusTestCase.setupContainer() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 67 Medium

org.codehaus.plexus.component.builder.XBeanComponentBuilder

Bug Category Details Line Priority
Return value of java.util.List.subList(int, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 105 High
La méthode org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(ComponentDescriptor, ClassRealm, ComponentBuildListener) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 112 Medium

org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe

Bug Category Details Line Priority
Dead store of Object.class in org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe.internalCreate(Type, boolean) CORRECTNESS DLS_DEAD_STORE_OF_CLASS_LITERAL 349 Medium
La classe org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe définit le champ d'instance org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe.componentDescriptor non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium
La classe org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe définit le champ d'instance org.codehaus.plexus.component.builder.XBeanComponentBuilder$RequirementRecipe.requirement non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.codehaus.plexus.component.collections.ComponentList

Bug Category Details Line Priority
Synchronisation incohérente de org.codehaus.plexus.component.collections.ComponentList.components; verrouillée à 50% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 250 Medium

org.codehaus.plexus.component.collections.ComponentMap

Bug Category Details Line Priority
Synchronisation incohérente de org.codehaus.plexus.component.collections.ComponentMap.components; verrouillée à 50% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 216 Medium

org.codehaus.plexus.component.factory.java.JavaComponentFactory

Bug Category Details Line Priority
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(ComponentDescriptor, ClassRealm, PlexusContainer) doesn't override method in superclass because parameter type org.codehaus.plexus.classworlds.realm.ClassRealm doesn't match superclass parameter type org.codehaus.classworlds.ClassRealm CORRECTNESS NM_WRONG_PACKAGE 47-89 Medium

org.codehaus.plexus.component.repository.ComponentRequirementList

Bug Category Details Line Priority
org.codehaus.plexus.component.repository.ComponentRequirementList doesn't override ComponentRequirement.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.codehaus.plexus.component.repository.exception.ComponentLookupException

Bug Category Details Line Priority
Found reliance on default encoding in org.codehaus.plexus.component.repository.exception.ComponentLookupException.getMessage(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 96 High
Found reliance on default encoding in org.codehaus.plexus.component.repository.exception.ComponentLookupException.getMessage(): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 94 High

org.codehaus.plexus.configuration.io.XmlPlexusConfigurationReader

Bug Category Details Line Priority
Found reliance on default encoding in org.codehaus.plexus.configuration.io.XmlPlexusConfigurationReader.read(InputStream): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 23 High

org.codehaus.plexus.configuration.io.XmlPlexusConfigurationWriter

Bug Category Details Line Priority
Found reliance on default encoding in org.codehaus.plexus.configuration.io.XmlPlexusConfigurationWriter.write(OutputStream, PlexusConfiguration): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 17 High