The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.surefire.booter.Classpath | 2 |
org.apache.maven.surefire.booter.IsolatedClassLoader | 4 |
org.apache.maven.surefire.booter.LazyTestsToRun | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.surefire.booter.Classpath.createClassLoader(ClassLoader, 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 | 158 | Medium |
Load of known null value in org.apache.maven.surefire.booter.Classpath.getCompactLogMessage(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 216 | Medium |
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 | 58 | 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 | 55 | 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 | 55 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.maven.surefire.booter.LazyTestsToRun(InputStream, PrintStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 67 | High |