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
61 25 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 151 Medium

org.codehaus.plexus.metadata.MetadataGenerationRequest

Bug Category Details Line Priority
Unused public or protected field: org.codehaus.plexus.metadata.MetadataGenerationRequest.componentDescriptors STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available 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 57 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 1979 Medium
Alimentation à perte d'une variable locale dans la méthode org.codehaus.plexus.metadata.merge.MXParser.parsePI() STYLE DLS_DEAD_LOCAL_STORE 2520 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 766 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 762 Medium
Comparaison d'objets String utilisant == ou != dans org.codehaus.plexus.metadata.merge.MXParser.lookuEntityReplacement(int) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 2301 Medium
org.codehaus.plexus.metadata.merge.MXParser.lookupNameChar devrait être à la fois final et package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 3105 Medium
org.codehaus.plexus.metadata.merge.MXParser.lookupNameStartChar devrait être à la fois final et package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 3104 Medium
org.codehaus.plexus.metadata.merge.MXParser.NCODING devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2538 Medium
org.codehaus.plexus.metadata.merge.MXParser.NO devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2541 Medium
org.codehaus.plexus.metadata.merge.MXParser.TANDALONE devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2539 Medium
org.codehaus.plexus.metadata.merge.MXParser.VERSION devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2537 Medium
org.codehaus.plexus.metadata.merge.MXParser.YES devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 2540 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 76 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.jdom2.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 83 Medium