The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.tools.plugin.generator.GeneratorUtils.isMavenReport(String, MavenProject) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 695 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.maven.tools.plugin.generator.GeneratorUtils$MojoParserCallback$Counter be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 360 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor(File, PluginToolsRequest, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 117 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor(File, PluginToolsRequest, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 123 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.execute(File, PluginToolsRequest) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 148 | Medium |
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 386 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 362 | Medium |
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpClassToMojoPackage(PluginToolsRequest, File, Log) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 385 | Medium |
exceptional return value of java.io.File.delete() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.writeHelpPropertiesFile(PluginToolsRequest, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 254 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.tools.plugin.generator.PluginHelpGenerator.writeHelpPropertiesFile(PluginToolsRequest, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 258 | Medium |