FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
25 15 0 0

org.apache.maven.plugin.invoker.AbstractInvokerMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuilds(File, BuildJob[]): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 1129 High
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.buildInterpolatedFile(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 2256 Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.cloneProjects(Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 934 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.cloneProjects(Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 935 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.copyDirectoryStructure(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1013 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.execute() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 650 Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuild(File, BuildJob, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1447 Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuilds(File, BuildJob[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1217 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuilds(File, BuildJob[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1062 Medium

org.apache.maven.plugin.invoker.FileLogger

Bug Category Details Line Priority
The class name org.apache.maven.plugin.invoker.FileLogger shadows the simple name of the superclass org.apache.maven.shared.scriptinterpreter.FileLogger BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 46-60 High

org.apache.maven.plugin.invoker.HelpMojo

Bug Category Details Line Priority
org.apache.maven.plugin.invoker.HelpMojo.build() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 68 Medium

org.apache.maven.plugin.invoker.InstallMojo

Bug Category Details Line Priority
exceptional return value of java.io.File.setLastModified(long) ignored in org.apache.maven.plugin.invoker.InstallMojo.copyFileIfDifferent(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 334 Medium

org.apache.maven.plugin.invoker.MetadataUtils

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.invoker.MetadataUtils.writeMetadata(File, Xpp3Dom) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 171 Medium

org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader

Bug Category Details Line Priority
Private method org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 149 Medium
Private method org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 237 Medium