The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.maven.plugin.surefire.AbstractSurefireMojo.processSystemProperties(boolean) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 1025 | Medium |
org.apache.maven.plugin.surefire.AbstractSurefireMojo.getForkConfiguration() ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 636 | Medium |
Method org.apache.maven.plugin.surefire.AbstractSurefireMojo.showMap(Map, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 965 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.surefire.CommonReflector.createStartupReportConfiguration(StartupReportConfiguration) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.maven.plugin.surefire.ProviderList(ProviderInfo[], ConfigurableProviderInfo) may expose internal representation by storing an externally mutable object into ProviderList.wellKnownProviders | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.maven.plugin.surefire.booterclient.ForkConfiguration.createJar(List) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 267 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer(StreamConsumer) invokes Thread.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.surefire.report.FileReporterFactory.getReporterConfiguration() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.surefire.report.AbstractFileReporter.testSetStarting(ReportEntry) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 69 | Medium |
org.apache.maven.surefire.report.AbstractFileReporter.testSetStarting(ReportEntry) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.surefire.report.ConsoleOutputFileReporter.writeMessage(byte[], int, int) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 86 | Medium |