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
81300

org.apache.maven.plugin.coreit.AbstractLoadMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) invokes java.net.URL.equals(Object), which blocks to do domain name resolutionPERFORMANCEDMI_BLOCKING_METHODS_ON_URL167High
org.apache.maven.plugin.coreit.AbstractLoadMojo.execute(File, ClassLoader) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivilegedBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED90Medium

org.apache.maven.plugin.coreit.AssignmentCompatibleMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.assigncompatPropertiesFileCORRECTNESSUWF_UNWRITTEN_FIELD109Medium
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.classNamesCORRECTNESSUWF_UNWRITTEN_FIELD74Medium

org.apache.maven.plugin.coreit.ExpressionUtil

BugCategoryDetailsLinePriority
Method org.apache.maven.plugin.coreit.ExpressionUtil.getProperty(Object, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR208Medium
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éSTYLEREC_CATCH_EXCEPTION220Medium

org.apache.maven.plugin.coreit.LoadDependenciesMojo

BugCategoryDetailsLinePriority
org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute() créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivilegedBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED83Medium
Lecture d'un champ jamais alimenté dans org.apache.maven.plugin.coreit.LoadDependenciesMojo.execute()CORRECTNESSNP_UNWRITTEN_FIELD69Medium
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadDependenciesMojo.classPathCORRECTNESSUWF_UNWRITTEN_FIELD69Medium
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadDependenciesMojo.projectClassLoaderOutputCORRECTNESSUWF_UNWRITTEN_FIELD90Medium

org.apache.maven.plugin.coreit.LoadMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadMojo.contextClassLoaderOutputCORRECTNESSUWF_UNWRITTEN_FIELD67Medium
Champ jamais écrit : org.apache.maven.plugin.coreit.LoadMojo.pluginClassLoaderOutputCORRECTNESSUWF_UNWRITTEN_FIELD63Medium

org.apache.maven.plugin.coreit.PropertiesUtil

BugCategoryDetailsLinePriority
org.apache.maven.plugin.coreit.PropertiesUtil.write(File, Properties) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE45Medium