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
1002300

org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$LeastFailureComparator

BugCategoryDetailsLinePriority
Should org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$LeastFailureComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC261-268Medium

org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$PrioritizedTestComparator

BugCategoryDetailsLinePriority
Should org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$PrioritizedTestComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC239-246Medium

org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$RunCountComparator

BugCategoryDetailsLinePriority
Should org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$RunCountComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC141-153Medium

org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$TestRuntimeComparator

BugCategoryDetailsLinePriority
Should org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap$TestRuntimeComparator be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC250-257Medium

org.apache.maven.surefire.booter.SurefireReflector$ClassLoaderProxy

BugCategoryDetailsLinePriority
Should org.apache.maven.surefire.booter.SurefireReflector$ClassLoaderProxy be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC143-151Medium

org.apache.maven.surefire.report.AbstractReporter

BugCategoryDetailsLinePriority
org.apache.maven.surefire.report.AbstractReporter.deleteIfExisting(File) ignores exceptional return value of java.io.File.delete()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE206Medium

org.apache.maven.surefire.report.AsynchRunListener

BugCategoryDetailsLinePriority
new org.apache.maven.surefire.report.AsynchRunListener(RunListener, String) invokes Thread.start()MT_CORRECTNESSSC_START_IN_CTOR86Medium

org.apache.maven.surefire.report.TestSetStatistics

BugCategoryDetailsLinePriority
Inconsistent synchronization of org.apache.maven.surefire.report.TestSetStatistics.completedCount; locked 88% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC91Medium
Inconsistent synchronization of org.apache.maven.surefire.report.TestSetStatistics.errors; locked 88% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC92Medium
Inconsistent synchronization of org.apache.maven.surefire.report.TestSetStatistics.failures; locked 88% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC93Medium
Inconsistent synchronization of org.apache.maven.surefire.report.TestSetStatistics.skipped; locked 77% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC94Medium

org.apache.maven.surefire.report.XMLReporter

BugCategoryDetailsLinePriority
org.apache.maven.surefire.report.XMLReporter.testSetCompleted(ReportEntry) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE125Medium

org.apache.maven.surefire.testset.DirectoryScannerParameters

BugCategoryDetailsLinePriority
org.apache.maven.surefire.testset.DirectoryScannerParameters.getRunOrder() may expose internal representation by returning DirectoryScannerParameters.runOrderMALICIOUS_CODEEI_EXPOSE_REP100Medium

org.apache.maven.surefire.testset.RunOrderParameters

BugCategoryDetailsLinePriority
org.apache.maven.surefire.testset.RunOrderParameters.getRunOrder() may expose internal representation by returning RunOrderParameters.runOrderMALICIOUS_CODEEI_EXPOSE_REP58Medium
new org.apache.maven.surefire.testset.RunOrderParameters(RunOrder[], File) may expose internal representation by storing an externally mutable object into RunOrderParameters.runOrderMALICIOUS_CODEEI_EXPOSE_REP236Medium

org.apache.maven.surefire.util.RunOrder

BugCategoryDetailsLinePriority
org.apache.maven.surefire.util.RunOrder.DEFAULT is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY47High

org.apache.maven.surefire.util.internal.ByteBuffer

BugCategoryDetailsLinePriority
org.apache.maven.surefire.util.internal.ByteBuffer.getData() may expose internal representation by returning ByteBuffer.dataMALICIOUS_CODEEI_EXPOSE_REP98Medium

org.apache.maven.surefire.util.internal.FunkyTwoThreadBlockingQueue

BugCategoryDetailsLinePriority
Unread field: org.apache.maven.surefire.util.internal.FunkyTwoThreadBlockingQueue.chunkSize; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC40Medium

org.apache.maven.surefire.util.internal.FunkyTwoThreadBlockingQueue$Chunk

BugCategoryDetailsLinePriority
Should org.apache.maven.surefire.util.internal.FunkyTwoThreadBlockingQueue$Chunk be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC93-95Medium

org.apache.maven.surefire.util.internal.Java13BlockingQueue

BugCategoryDetailsLinePriority
Wait not in loop in org.apache.maven.surefire.util.internal.Java13BlockingQueue.take()MT_CORRECTNESSWA_NOT_IN_LOOP49Medium

org.apache.maven.surefire.util.internal.StringUtils

BugCategoryDetailsLinePriority
Nullcheck of str at line 531 of value previously dereferenced in org.apache.maven.surefire.util.internal.StringUtils.escapeJavaStyleString(PrintStream, byte[], int, int)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE530Medium
Nullcheck of str at line 437 of value previously dereferenced in org.apache.maven.surefire.util.internal.StringUtils.escapeJavaStyleString(ByteBuffer, byte[], int, int)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE436Medium
Nullcheck of str at line 625 of value previously dereferenced in org.apache.maven.surefire.util.internal.StringUtils.escapeJavaStyleString(byte[], int, byte[], int, int)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE624Medium