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 |
8 |
14 |
0 |
0 |
org.apache.maven.plugin.coreit.AbstractLoadMojo
Bug |
Category |
Details |
Line |
Priority |
Invocation of java.net.URL.equals(Object), which blocks to do domain name resolution, in org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) |
PERFORMANCE |
DMI_BLOCKING_METHODS_ON_URL |
164 |
High |
org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
89 |
Medium |
Unwritten public or protected field: org.apache.maven.plugin.coreit.AbstractLoadMojo.classNames |
STYLE |
UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD |
93 |
Medium |
Unwritten public or protected field: org.apache.maven.plugin.coreit.AbstractLoadMojo.resourcePaths |
STYLE |
UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD |
154 |
Medium |
org.apache.maven.plugin.coreit.AssignmentCompatibleMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.assigncompatPropertiesFile |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
Unwritten field: org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.classNames |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
73 |
Medium |
org.apache.maven.plugin.coreit.ExpressionUtil
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in org.apache.maven.plugin.coreit.ExpressionUtil.getProperty(Object, String) |
STYLE |
REC_CATCH_EXCEPTION |
221 |
Medium |
org.apache.maven.plugin.coreit.LoadDependenciesMojo
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
83 |
Medium |
Read of unwritten field classPath in org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute() |
CORRECTNESS |
NP_UNWRITTEN_FIELD |
69 |
Medium |
Unwritten field: org.apache.maven.plugin.coreit.LoadDependenciesMojo.classPath |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
69 |
Medium |
Unwritten field: org.apache.maven.plugin.coreit.LoadDependenciesMojo.projectClassLoaderOutput |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
90 |
Medium |
org.apache.maven.plugin.coreit.LoadMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.apache.maven.plugin.coreit.LoadMojo.contextClassLoaderOutput |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
67 |
Medium |
Unwritten field: org.apache.maven.plugin.coreit.LoadMojo.pluginClassLoaderOutput |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
63 |
Medium |
org.apache.maven.plugin.coreit.PropertiesUtil
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.coreit.PropertiesUtil.write(File, Properties) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
45 |
Medium |