FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
81000

org.apache.maven.tools.plugin.generator.GeneratorUtils

BugCategoryDetailsLinePriority
org.apache.maven.tools.plugin.generator.GeneratorUtils.isMavenReport(String, MavenProject) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED695Medium

org.apache.maven.tools.plugin.generator.GeneratorUtils$MojoParserCallback$Counter

BugCategoryDetailsLinePriority
Should org.apache.maven.tools.plugin.generator.GeneratorUtils$MojoParserCallback$Counter be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC360Medium

org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor(File, PluginToolsRequest, boolean)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE117Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor(File, PluginToolsRequest, boolean)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE123Medium

org.apache.maven.tools.plugin.generator.PluginHelpGenerator

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.execute(File, PluginToolsRequest)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE148Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE386Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE362Medium
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE385Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.writeHelpPropertiesFile(PluginToolsRequest, File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE254Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.writeHelpPropertiesFile(PluginToolsRequest, File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE258Medium