The following document contains the results of FindBugs Report
FindBugs Version is 1.3.8
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 139 | 7 | 0 | 0 |
| Class | Bugs |
|---|---|
| net.sf.statscm.StatConf | 1 |
| net.sf.statscm.StatScmMojo | 3 |
| net.sf.statscm.StatScmMojo$1 | 1 |
| net.sf.statscm.Trac | 2 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Useless control flow in net.sf.statscm.StatConf.configure(MavenProject, Locale) | STYLE | UCF_USELESS_CONTROL_FLOW | 181 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| net.sf.statscm.StatScmMojo.copyResourceFiles(String, String) may fail to close stream on exception | BAD_PRACTICE | OS_OPEN_STREAM_EXCEPTION_PATH | 657 | Low |
| Redundant nullcheck of versionText, which is known to be non-null in net.sf.statscm.StatScmMojo.getStatSCMVersion() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 770 | Low |
| net.sf.statscm.StatScmMojo.copyResourceFiles(String, String) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 629 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class net.sf.statscm.StatScmMojo$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 633-645 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| net.sf.statscm.Trac.bugRegex isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 19 | High |
| Redundant nullcheck of bugURL, which is known to be non-null in net.sf.statscm.Trac.toHTMLWithLinks(String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 58 | Low |