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 |
22 |
24 |
0 |
0 |
org.apache.maven.plugin.pmd.CpdReport
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.pmd.CpdReport.writeNonHtml(CPD) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
336 |
Medium |
org.apache.maven.plugin.pmd.CpdViolationCheckMojo
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugin.pmd.CpdViolationCheckMojo.getErrorDetails(File): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
117 |
High |
Found reliance on default encoding in org.apache.maven.plugin.pmd.CpdViolationCheckMojo.loadExcludeFromFailuresData(String): new java.io.FileReader(String) |
I18N |
DM_DEFAULT_ENCODING |
172 |
High |
org.apache.maven.plugin.pmd.CpdViolationCheckMojo.getErrorDetails(File) may fail to clean up java.io.Reader |
EXPERIMENTAL |
OBL_UNSATISFIED_OBLIGATION |
117 |
Medium |
org.apache.maven.plugin.pmd.PmdReport
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugin.pmd.PmdReport.executePmd(): new java.io.PrintStream(String) |
I18N |
DM_DEFAULT_ENCODING |
407 |
High |
org.apache.maven.plugin.pmd.PmdReport.setRulesets(String[]) may expose internal representation by storing an externally mutable object into PmdReport.rulesets |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
194 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.pmd.PmdReport.writeNonHtml(Report) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
499 |
Medium |
org.apache.maven.plugin.pmd.PmdViolationCheckMojo
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugin.pmd.PmdViolationCheckMojo.getErrorDetails(File): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
183 |
High |
org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdErrorDetail(XmlPullParser, boolean) |
STYLE |
DLS_DEAD_LOCAL_STORE |
595 |
High |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdFile(XmlPullParser, boolean) |
STYLE |
DLS_DEAD_LOCAL_STORE |
652 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
366 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
396 |
High |
Redundant nullcheck of duplications, which is known to be non-null in org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdErrorDetail(XmlPullParser, boolean) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
601 |
Medium |
Redundant nullcheck of files, which is known to be non-null in org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.parseDuplication(XmlPullParser, boolean) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
702 |
Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
151 |
Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
239 |
Medium |
org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdErrorDetail(XmlPullParser, boolean) |
STYLE |
DLS_DEAD_LOCAL_STORE |
595 |
High |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) |
STYLE |
DLS_DEAD_LOCAL_STORE |
648 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
366 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
396 |
High |
Redundant nullcheck of files, which is known to be non-null in org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdErrorDetail(XmlPullParser, boolean) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
601 |
Medium |
Redundant nullcheck of violations, which is known to be non-null in org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
654 |
Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
151 |
Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
239 |
Medium |