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
123 61 0 0

org.apache.maven.model.building.DefaultModelBuilder

Bug Category Details Line Priority
org.apache.maven.model.building.DefaultModelBuilder.build(ModelBuildingRequest, Collection) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 373 Medium
org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(Model, ModelBuildingRequest, DefaultModelProblemCollector, Collection) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1229 Medium
org.apache.maven.model.building.DefaultModelBuilder.checkPluginVersions(List, ModelBuildingRequest, ModelProblemCollector) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 729 Medium

org.apache.maven.model.building.DefaultModelBuildingRequest

Bug Category Details Line Priority
org.apache.maven.model.building.DefaultModelBuildingRequest.getBuildStartTime() may expose internal representation by returning DefaultModelBuildingRequest.buildStartTime MALICIOUS_CODE EI_EXPOSE_REP 332 Medium
org.apache.maven.model.building.DefaultModelBuildingRequest.setBuildStartTime(Date) may expose internal representation by storing an externally mutable object into DefaultModelBuildingRequest.buildStartTime MALICIOUS_CODE EI_EXPOSE_REP2 338 Medium
Inconsistent synchronization of org.apache.maven.model.building.DefaultModelBuildingRequest.modelSource; locked 75% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 133 Medium
Inconsistent synchronization of org.apache.maven.model.building.DefaultModelBuildingRequest.pomFile; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 109 Medium

org.apache.maven.model.building.ModelBuildingException

Bug Category Details Line Priority
org.apache.maven.model.building.DefaultModelBuildingResult stored into non-transient field ModelBuildingException.result BAD_PRACTICE SE_BAD_FIELD_STORE 65 Medium

org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor

Bug Category Details Line Priority
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(List) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1445 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Properties) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1427 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Activation) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 928 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationFile) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1007 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationOS) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 949 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationProperty) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 985 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Build) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 679 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(BuildBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 625 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(CiManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 574 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Contributor) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 392 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Dependency) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1233 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Developer) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 377 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(DistributionManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1059 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Exclusion) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1306 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Extension) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 878 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(IssueManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 552 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(License) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 339 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(MailingList) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 437 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 189 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 232 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 218 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 182 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 239 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 174 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 211 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 204 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 225 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 196 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Notifier) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 601 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Organization) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 317 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Parent) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 281 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Plugin) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 760 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(PluginExecution) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 815 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Prerequisites) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 480 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Profile) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 909 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Relocation) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1112 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ReportPlugin) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1355 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ReportSet) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1398 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Reporting) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1328 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1169 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1190 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1176 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1183 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1218 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1204 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1211 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Resource) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 731 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Scm) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 495 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Site) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1076 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Xpp3Dom) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 848 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 58 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 55 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 67 Medium