The following document contains the results of FindBugs Report
FindBugs Version is 2.0.2
Threshold is medium
Effort is min
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 | 300 | Medium |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.plugin.pmd.HelpMojo.build() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 68 | Medium |
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 | 390 | 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 | 185 | 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 | 482 | Medium |
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 | 185 | High |
org.apache.maven.plugin.pmd.PmdViolationCheckMojo.getErrorDetails(File) may fail to clean up java.io.Reader | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 185 | Medium |
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 | 811 | High |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.parseCpdFile(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 868 | 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 | 817 | 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 | 918 | Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 153 | Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 241 | Medium |
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 | 811 | High |
Dead store to parsed in org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.parsePmdFile(XmlPullParser, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 864 | 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 | 817 | 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 | 870 | Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 153 | Medium |
Private method org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 241 | Medium |