The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 140 | 12 | 0 | 0 |
| Class | Bugs |
|---|---|
| net.sf.statscm.StatConf | 1 |
| net.sf.statscm.StatScmMojo | 8 |
| net.sf.statscm.StatScmMojo$1 | 1 |
| net.sf.statscm.Trac | 2 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Useless control flow in net.sf.statscm.StatConf.configure(MavenProject, Locale) | STYLE | UCF_USELESS_CONTROL_FLOW | 172 |
| Bug | Category | Details | Line |
|---|---|---|---|
| net.sf.statscm.StatScmMojo.copyResourceFiles(String, String) may fail to close stream on exception | BAD_PRACTICE | OS_OPEN_STREAM_EXCEPTION_PATH | 647 |
| Redundant nullcheck of versionText, which is known to be non-null in net.sf.statscm.StatScmMojo.getStatSCMVersion() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 760 |
| Unwritten field: net.sf.statscm.StatScmMojo.cacheDir | CORRECTNESS | UWF_UNWRITTEN_FIELD | 417 |
| Unwritten field: net.sf.statscm.StatScmMojo.excludes | CORRECTNESS | UWF_UNWRITTEN_FIELD | 454 |
| Unwritten field: net.sf.statscm.StatScmMojo.includes | CORRECTNESS | UWF_UNWRITTEN_FIELD | 443 |
| Unwritten field: net.sf.statscm.StatScmMojo.nonDeveloperLogins | CORRECTNESS | UWF_UNWRITTEN_FIELD | 510 |
| Unwritten field: net.sf.statscm.StatScmMojo.notesFile | CORRECTNESS | UWF_UNWRITTEN_FIELD | 389 |
| Unwritten field: net.sf.statscm.StatScmMojo.title | CORRECTNESS | UWF_UNWRITTEN_FIELD | 371 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class net.sf.statscm.StatScmMojo$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 623-635 |
| Bug | Category | Details | Line |
|---|---|---|---|
| net.sf.statscm.Trac.bugRegex isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 19 |
| 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 |