FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
27 17 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 1177 High
Found reliance on default encoding in org.apache.maven.plugin.invoker.AbstractInvokerMojo.writeSummaryFile(BuildJob[]): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 753 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 2312 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 970 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 971 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 1064 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 644 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuild(File, BuildJob, File, File, CharSequence) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1502 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 1267 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 1110 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.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 336 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 169 Medium

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

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 364 High
Boxing/unboxing to parse a primitive org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 394 High
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