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 |
---|---|---|---|---|
org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) invokes java.net.URL.equals(Object), which blocks to do domain name resolution | PERFORMANCE | DMI_BLOCKING_METHODS_ON_URL | 167 | High |
org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivileged | BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 90 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.assigncompatPropertiesFile | CORRECTNESS | UWF_UNWRITTEN_FIELD | 109 | Medium |
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.classNames | CORRECTNESS | UWF_UNWRITTEN_FIELD | 74 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.maven.plugin.coreit.ExpressionUtil.getProperty(Object, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 208 | Medium |
La méthode org.apache.maven.plugin.coreit.ExpressionUtil.getProperty(Object, String) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 220 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute() créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivileged | BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 83 | Medium |
Lecture d'un champ jamais alimenté dans org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 69 | Medium |
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadDependenciesMojo.classPath | CORRECTNESS | UWF_UNWRITTEN_FIELD | 69 | Medium |
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadDependenciesMojo.projectClassLoaderOutput | CORRECTNESS | UWF_UNWRITTEN_FIELD | 90 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadMojo.contextClassLoaderOutput | CORRECTNESS | UWF_UNWRITTEN_FIELD | 67 | Medium |
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadMojo.pluginClassLoaderOutput | CORRECTNESS | UWF_UNWRITTEN_FIELD | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.coreit.PropertiesUtil.write(File, Properties) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 45 | Medium |