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) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 366 Medium
org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(Model, ModelBuildingRequest, DefaultModelProblemCollector, Collection) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1222 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 722 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 1443 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Properties) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1425 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Activation) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 926 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationFile) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1005 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationOS) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 947 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ActivationProperty) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 983 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Build) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 677 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(BuildBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 623 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(CiManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 572 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Contributor) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 390 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Dependency) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1231 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Developer) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 375 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(DistributionManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1057 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Exclusion) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1304 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Extension) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 876 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(IssueManagement) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 550 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(License) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 337 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(MailingList) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 435 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 187 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 230 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 216 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 180 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 237 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 172 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 209 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 202 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 223 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Model) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 194 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Notifier) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 599 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Organization) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 315 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Parent) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 279 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Plugin) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 758 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(PluginExecution) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 813 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Prerequisites) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 478 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Profile) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 907 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Relocation) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1110 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ReportPlugin) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1353 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(ReportSet) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1396 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Reporting) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1326 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1167 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1188 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1174 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryBase) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1181 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1216 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1202 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(RepositoryPolicy) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1209 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Resource) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 729 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Scm) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 493 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Site) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1074 Medium
Comparison of String objects using == or != in org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit(Xpp3Dom) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 846 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