The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Field AbstractPmdReport.outputDirectory masks field in superclass org.apache.maven.reporting.AbstractMavenReport | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available | High |
Field AbstractPmdReport.project masks field in superclass org.apache.maven.reporting.AbstractMavenReport | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available | High |
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 | 120 | High |
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 |
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 | 130 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.CpdExecutor.fork(CpdRequest) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 86 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.CpdExecutor.writeReport(CPD, CPDRenderer, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 262 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.CpdExecutor.writeXmlReport(CPD) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 242 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.PmdExecutor.fork(PmdRequest) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 101 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.PmdExecutor.writeReport(Report, Renderer) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 402 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pmd.exec.PmdExecutor.writeXmlReport(Report) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 382 | Medium |
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 | 633 | High |
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdFile(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 690 | 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 | 392 | 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 | 422 | 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 | 639 | 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 | 740 | Medium |
Private method org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 177 | Medium |
Private method org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 265 | Medium |
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 | 634 | High |
Dead store to parsed in org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 697 | 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 | 393 | 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 | 423 | High |
Redundant nullcheck of errors, 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 | 650 | Medium |
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 | 640 | 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 | 703 | Medium |
Private method org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 178 | Medium |
Private method org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 266 | Medium |