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
29 17 0 0

org.apache.maven.plugins.invoker.AbstractInvokerMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.invoker.AbstractInvokerMojo.writeMergedSettingsFile(Settings): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 1338 High
Found reliance on default encoding in org.apache.maven.plugins.invoker.AbstractInvokerMojo.writeSummaryFile(BuildJob[]): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 798 High
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.buildInterpolatedFile(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 2475 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.cloneProjects(Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1015 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.cloneProjects(Collection) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1016 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.copyDirectoryStructure(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1109 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.deleteInterpolatedPomFile(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1643 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuilds(File, BuildJob[], int) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1238 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuilds(File, BuildJob[], int) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1158 Medium

org.apache.maven.plugins.invoker.FileLogger

Bug Category Details Line Priority
The class name org.apache.maven.plugins.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.plugins.invoker.InstallMojo

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

org.apache.maven.plugins.invoker.MetadataUtils

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

org.apache.maven.plugins.invoker.SelectorUtils

Bug Category Details Line Priority
Possible null pointer dereference in org.apache.maven.plugins.invoker.SelectorUtils.getMavenVersion(File) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 129 Medium

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

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.plugins.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.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 394 High
Private method org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 149 Medium
Private method org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 237 Medium