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) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivileged 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
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.assigncompatPropertiesFile CORRECTNESS UWF_UNWRITTEN_FIELD 107 Medium
Champ jamais écrit : org.apache.maven.plugin.coreit.AssignmentCompatibleMojo.classNames CORRECTNESS UWF_UNWRITTEN_FIELD 73 Medium

org.apache.maven.plugin.coreit.ExpressionUtil

Bug Category Details Line Priority
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 221 Medium

org.apache.maven.plugin.coreit.LoadDependenciesMojo

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 MALICIOUS_CODE 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

org.apache.maven.plugin.coreit.LoadMojo

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

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