Fork me on GitHub

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
38 14 0 0

org.apache.maven.surefire.booter.Classpath

Bug Category Details Line Priority
org.apache.maven.surefire.booter.Classpath.createClassLoader(boolean, boolean, String) creates a org.apache.maven.surefire.booter.IsolatedClassLoader classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 168 Medium

org.apache.maven.surefire.booter.ForkedBooter

Bug Category Details Line Priority
Futile attempt to change max pool size of ScheduledThreadPoolExecutor in org.apache.maven.surefire.booter.ForkedBooter.createPingScheduler() CORRECTNESS DMI_FUTILE_ATTEMPT_TO_CHANGE_MAXPOOL_SIZE_OF_SCHEDULED_THREAD_POOL_EXECUTOR 450 High
Futile attempt to change max pool size of ScheduledThreadPoolExecutor in org.apache.maven.surefire.booter.ForkedBooter.getJvmTerminator() CORRECTNESS DMI_FUTILE_ATTEMPT_TO_CHANGE_MAXPOOL_SIZE_OF_SCHEDULED_THREAD_POOL_EXECUTOR 360 High
Null passed for non-null parameter of setupBooter(String, String, String, String) in org.apache.maven.surefire.booter.ForkedBooter.main(String[]) CORRECTNESS NP_NULL_PARAM_DEREF 416 Medium

org.apache.maven.surefire.booter.IsolatedClassLoader

Bug Category Details Line Priority
org.apache.maven.surefire.booter.IsolatedClassLoader.urls is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS Not available High
org.apache.maven.surefire.booter.IsolatedClassLoader.addURL(URL) is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS 65 High
org.apache.maven.surefire.booter.IsolatedClassLoader.addURL(URL) is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS 62 High
org.apache.maven.surefire.booter.IsolatedClassLoader.addURL(URL) is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS 62 High

org.apache.maven.surefire.booter.PpidChecker

Bug Category Details Line Priority
Hard coded reference to an absolute pathname in org.apache.maven.surefire.booter.PpidChecker.canExecuteLocalUnixPs() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 259 Medium
Hard coded reference to an absolute pathname in org.apache.maven.surefire.booter.PpidChecker.canExecuteStandardUnixPs() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 264 Medium

org.apache.maven.surefire.booter.PpidChecker$2

Bug Category Details Line Priority
Result of integer multiplication cast to long in org.apache.maven.surefire.booter.PpidChecker$2.consumeLine(String, ProcessInfo) STYLE ICAST_INTEGER_MULTIPLY_CAST_TO_LONG 216 Medium

org.apache.maven.surefire.booter.SystemUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.surefire.booter.SystemUtils.pidStatusOnBSD(String): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 386 High
Found reliance on default encoding in org.apache.maven.surefire.booter.SystemUtils.pidStatusOnLinux(String): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 339 High
Dereference of the result of readLine() without nullcheck in org.apache.maven.surefire.booter.SystemUtils.pidStatusOnBSD(String) STYLE NP_DEREFERENCE_OF_READLINE_VALUE 390 Medium