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 |
31 |
21 |
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 |
1360 |
High |
Found reliance on default encoding in org.apache.maven.plugins.invoker.AbstractInvokerMojo.writeSummaryFile(BuildJob[]): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
819 |
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 |
2533 |
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 |
1036 |
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 |
1037 |
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 |
1130 |
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 |
1670 |
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 |
1259 |
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 |
1179 |
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 |
309 |
Medium |
org.apache.maven.plugins.invoker.InvokerReport
Bug |
Category |
Details |
Line |
Priority |
Field InvokerReport.outputDirectory masks field in superclass org.apache.maven.reporting.AbstractMavenReport |
CORRECTNESS |
MF_CLASS_MASKS_FIELD |
Not available |
High |
Field InvokerReport.project masks field in superclass org.apache.maven.reporting.AbstractMavenReport |
CORRECTNESS |
MF_CLASS_MASKS_FIELD |
Not available |
High |
Field InvokerReport.siteRenderer masks field in superclass org.apache.maven.reporting.AbstractMavenReport |
CORRECTNESS |
MF_CLASS_MASKS_FIELD |
Not available |
High |
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 |
390 |
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 |
420 |
High |
Private method org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
175 |
Medium |
Private method org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.getDateValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
263 |
Medium |
org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Writer
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Writer.fileComment |
PERFORMANCE |
URF_UNREAD_FIELD |
40 |
Medium |