FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
121 14 0 0

org.apache.maven.model.building.DefaultModelBuilder

Bug Category Details Line Priority
La méthode org.apache.maven.model.building.DefaultModelBuilder.build(ModelBuildingRequest) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 358 Medium
La méthode org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(Model, ModelBuildingRequest, DefaultModelProblemCollector, Collection) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1173 Medium
La méthode org.apache.maven.model.building.DefaultModelBuilder.checkPluginVersions(List, ModelBuildingRequest, ModelProblemCollector) fait une utilisation inefficace d'un itérateur sur keySet au lieu d'un itérateur sur entrySet PERFORMANCE WMI_WRONG_MAP_ITERATOR 703 Medium

org.apache.maven.model.building.DefaultModelBuildingRequest

Bug Category Details Line Priority
La méthode org.apache.maven.model.building.DefaultModelBuildingRequest.getBuildStartTime() risque d'exposer sa représentation interne en renvoyant org.apache.maven.model.building.DefaultModelBuildingRequest.buildStartTime MALICIOUS_CODE EI_EXPOSE_REP 332 Medium
La méthode org.apache.maven.model.building.DefaultModelBuildingRequest.setBuildStartTime(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.maven.model.building.DefaultModelBuildingRequest.buildStartTime MALICIOUS_CODE EI_EXPOSE_REP2 338 Medium
Synchronisation incohérente de org.apache.maven.model.building.DefaultModelBuildingRequest.modelSource; verrouillée à 75% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 133 Medium
Synchronisation incohérente de org.apache.maven.model.building.DefaultModelBuildingRequest.pomFile; verrouillée à 50% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 115 Medium

org.apache.maven.model.building.ModelBuildingException

Bug Category Details Line Priority
org.apache.maven.model.building.DefaultModelBuildingResult est stocké dans le champ non transient org.apache.maven.model.building.ModelBuildingException.result BAD_PRACTICE SE_BAD_FIELD_STORE 65 Medium

org.apache.maven.model.building.Result$2

Bug Category Details Line Priority
input must be nonnull but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 185 Medium

org.apache.maven.model.building.Result$3

Bug Category Details Line Priority
input must be nonnull but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 200 Medium

org.apache.maven.model.building.Result$4

Bug Category Details Line Priority
input must be nonnull but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 243 Medium

org.apache.maven.model.io.DefaultModelReader

Bug Category Details Line Priority
org.apache.maven.model.io.DefaultModelReader.read(File, Map) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 55 Medium

org.apache.maven.model.io.DefaultModelWriter

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.model.io.DefaultModelWriter.write(File, Map, Model) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 53 Medium

org.apache.maven.model.superpom.DefaultSuperPomProvider

Bug Category Details Line Priority
org.apache.maven.model.superpom.DefaultSuperPomProvider.getSuperModel(String) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 63 Medium