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
60 24 0 0

org.codehaus.plexus.component.repository.ComponentDescriptor

Bug Category Details Line Priority
Repeated conditional test in org.codehaus.plexus.component.repository.ComponentDescriptor.equals(Object) CORRECTNESS RpC_REPEATED_CONDITIONAL_TEST 672 High
Repeated conditional test in org.codehaus.plexus.component.repository.ComponentDescriptor.equals(Object) CORRECTNESS RpC_REPEATED_CONDITIONAL_TEST 677 High

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.metadata.DefaultMetadataGenerator

Bug Category Details Line Priority
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans org.codehaus.plexus.metadata.DefaultMetadataGenerator.generateDescriptor(MetadataGenerationRequest) STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 122 Medium

org.codehaus.plexus.metadata.ann.AnnClass

Bug Category Details Line Priority
La méthode org.codehaus.plexus.metadata.ann.AnnClass.getInterfaces() risque d'exposer sa représentation interne en renvoyant org.codehaus.plexus.metadata.ann.AnnClass.interfaces MALICIOUS_CODE EI_EXPOSE_REP 93 Medium
La méthode org.codehaus.plexus.metadata.ann.AnnClass.setInterfaces(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.codehaus.plexus.metadata.ann.AnnClass.interfaces MALICIOUS_CODE EI_EXPOSE_REP2 59 Medium

org.codehaus.plexus.metadata.gleaner.QDoxComponentGleaner

Bug Category Details Line Priority
Method org.codehaus.plexus.metadata.gleaner.QDoxComponentGleaner.findExtraParameters(String, Map) seems to be useless STYLE UC_USELESS_VOID_METHOD 508 Medium

org.codehaus.plexus.metadata.merge.AbstractMerger

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.codehaus.plexus.metadata.merge.AbstractMerger.writeMergedDocument(Document, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 54 Medium

org.codehaus.plexus.metadata.merge.Driver

Bug Category Details Line Priority
org.codehaus.plexus.metadata.merge.Driver.parse(InputSource) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 290 Medium

org.codehaus.plexus.metadata.merge.MXParser

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.codehaus.plexus.metadata.merge.MXParser.parseAttribute() STYLE DLS_DEAD_LOCAL_STORE 1977 Medium
Alimentation à perte d'une variable locale dans la méthode org.codehaus.plexus.metadata.merge.MXParser.parsePI() STYLE DLS_DEAD_LOCAL_STORE 2518 Medium
La méthode org.codehaus.plexus.metadata.merge.MXParser.getTextCharacters(int[]) risque d'exposer sa représentation interne en renvoyant org.codehaus.plexus.metadata.merge.MXParser.buf MALICIOUS_CODE EI_EXPOSE_REP 764 Medium
La méthode org.codehaus.plexus.metadata.merge.MXParser.getTextCharacters(int[]) risque d'exposer sa représentation interne en renvoyant org.codehaus.plexus.metadata.merge.MXParser.pc MALICIOUS_CODE EI_EXPOSE_REP 760 Medium
Comparaison d'objets String utilisant == ou != dans org.codehaus.plexus.metadata.merge.MXParser.lookuEntityReplacement(int) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 2299 Medium
org.codehaus.plexus.metadata.merge.MXParser.lookupNameChar devrait être à la fois final et package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 3103 Medium
org.codehaus.plexus.metadata.merge.MXParser.lookupNameStartChar devrait être à la fois final et package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 3102 Medium
org.codehaus.plexus.metadata.merge.MXParser.NCODING devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2536 Medium
org.codehaus.plexus.metadata.merge.MXParser.NO devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2539 Medium
org.codehaus.plexus.metadata.merge.MXParser.TANDALONE devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2537 Medium
org.codehaus.plexus.metadata.merge.MXParser.VERSION devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2535 Medium
org.codehaus.plexus.metadata.merge.MXParser.YES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2538 Medium

org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList

Bug Category Details Line Priority
La méthode org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList.parseRecurringMergeables(String, List, Mergeable) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 77 Medium

org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport

Bug Category Details Line Priority
org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport.equals(Object) checks for operand being a org.jdom.Element BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 127 High

org.codehaus.plexus.metadata.merge.support.ComponentElement

Bug Category Details Line Priority
La méthode org.codehaus.plexus.metadata.merge.support.ComponentElement.getAllowedTags() risque d'exposer sa représentation interne en renvoyant org.codehaus.plexus.metadata.merge.support.ComponentElement.allowedTags MALICIOUS_CODE EI_EXPOSE_REP 80 Medium