FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
401100

org.apache.maven.plugin.surefire.AbstractSurefireMojo

BugCategoryDetailsLinePriority
Method org.apache.maven.plugin.surefire.AbstractSurefireMojo.processSystemProperties(boolean) may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION1025Medium
org.apache.maven.plugin.surefire.AbstractSurefireMojo.getForkConfiguration() ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE636Medium
Method org.apache.maven.plugin.surefire.AbstractSurefireMojo.showMap(Map, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR965Medium

org.apache.maven.plugin.surefire.CommonReflector

BugCategoryDetailsLinePriority
org.apache.maven.plugin.surefire.CommonReflector.createStartupReportConfiguration(StartupReportConfiguration) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR70Medium

org.apache.maven.plugin.surefire.ProviderList

BugCategoryDetailsLinePriority
new org.apache.maven.plugin.surefire.ProviderList(ProviderInfo[], ConfigurableProviderInfo) may expose internal representation by storing an externally mutable object into ProviderList.wellKnownProvidersMALICIOUS_CODEEI_EXPOSE_REP244Medium

org.apache.maven.plugin.surefire.booterclient.ForkConfiguration

BugCategoryDetailsLinePriority
Method org.apache.maven.plugin.surefire.booterclient.ForkConfiguration.createJar(List) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION267Medium

org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer

BugCategoryDetailsLinePriority
new org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer(StreamConsumer) invokes Thread.start()MT_CORRECTNESSSC_START_IN_CTOR87Medium

org.apache.maven.plugin.surefire.report.FileReporterFactory

BugCategoryDetailsLinePriority
org.apache.maven.plugin.surefire.report.FileReporterFactory.getReporterConfiguration() invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR72Medium

org.apache.maven.surefire.report.AbstractFileReporter

BugCategoryDetailsLinePriority
org.apache.maven.surefire.report.AbstractFileReporter.testSetStarting(ReportEntry) ignores exceptional return value of java.io.File.delete()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE69Medium
org.apache.maven.surefire.report.AbstractFileReporter.testSetStarting(ReportEntry) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE64Medium

org.apache.maven.surefire.report.ConsoleOutputFileReporter

BugCategoryDetailsLinePriority
org.apache.maven.surefire.report.ConsoleOutputFileReporter.writeMessage(byte[], int, int) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE86Medium