FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1091000

org.apache.maven.model.building.DefaultModelBuilder

BugCategoryDetailsLinePriority
org.apache.maven.model.building.DefaultModelBuilder.build(ModelBuildingRequest, Collection) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION321Medium
org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(Model, ModelBuildingRequest, DefaultModelProblemCollector, Collection) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION930Medium
org.apache.maven.model.building.DefaultModelBuilder.checkPluginVersions(List, ModelBuildingRequest, ModelProblemCollector) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR615Medium

org.apache.maven.model.building.DefaultModelBuildingRequest

BugCategoryDetailsLinePriority
org.apache.maven.model.building.DefaultModelBuildingRequest.getBuildStartTime() may expose internal representation by returning DefaultModelBuildingRequest.buildStartTimeMALICIOUS_CODEEI_EXPOSE_REP296Medium
org.apache.maven.model.building.DefaultModelBuildingRequest.setBuildStartTime(Date) may expose internal representation by storing an externally mutable object into DefaultModelBuildingRequest.buildStartTimeMALICIOUS_CODEEI_EXPOSE_REP2301Medium

org.apache.maven.model.building.ModelBuildingException

BugCategoryDetailsLinePriority
org.apache.maven.model.building.DefaultModelBuildingResult stored into non-transient field ModelBuildingException.resultBAD_PRACTICESE_BAD_FIELD_STORE65Medium

org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction

BugCategoryDetailsLinePriority
Load of known null value in org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.interpolateCollectionField(Object, Field)STYLENP_LOAD_OF_KNOWN_NULL_VALUE251Medium

org.apache.maven.model.io.DefaultModelReader

BugCategoryDetailsLinePriority
org.apache.maven.model.io.DefaultModelReader.read(File, Map) may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION56Medium

org.apache.maven.model.io.DefaultModelWriter

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.model.io.DefaultModelWriter.write(File, Map, Model)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE58Medium

org.apache.maven.model.superpom.DefaultSuperPomProvider

BugCategoryDetailsLinePriority
org.apache.maven.model.superpom.DefaultSuperPomProvider.getSuperModel(String) may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION62Medium