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
25 23 0 0

org.apache.maven.plugins.pmd.AbstractPmdReport

Bug Category Details Line Priority
Changes to logger could be lost in org.apache.maven.plugins.pmd.AbstractPmdReport.setupPmdLogging() EXPERIMENTAL LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE 559 High

org.apache.maven.plugins.pmd.CpdReport

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.CpdReport.writeNonHtml(CPD) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 377 Medium

org.apache.maven.plugins.pmd.CpdViolationCheckMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.pmd.CpdViolationCheckMojo.getErrorDetails(File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 117 High

org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile.loadExcludeFromFailuresData(String): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 125 High

org.apache.maven.plugins.pmd.PmdReport

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.pmd.PmdReport.executePmd(): new java.io.PrintStream(String) I18N DM_DEFAULT_ENCODING 462 High
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.PmdReport.writeNonHtml(Report) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 600 Medium

org.apache.maven.plugins.pmd.PmdViolationCheckMojo

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.pmd.PmdViolationCheckMojo.getErrorDetails(File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 120 High

org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader

Bug Category Details Line Priority
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdErrorDetail(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 595 High
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdFile(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 652 High
Boxing/unboxing to parse a primitive org.apache.maven.plugins.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.plugins.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.plugins.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.plugins.pmd.model.io.xpp3.CpdXpp3Reader.parseDuplication(XmlPullParser, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 702 Medium
Private method org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 151 Medium
Private method org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 239 Medium

org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader

Bug Category Details Line Priority
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdErrorDetail(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 595 High
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) STYLE DLS_DEAD_LOCAL_STORE 648 High
Boxing/unboxing to parse a primitive org.apache.maven.plugins.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.plugins.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.plugins.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.plugins.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 654 Medium
Private method org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 151 Medium
Private method org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 239 Medium