FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|
| 37 | 7 | 0 | 0 |
org.apache.maven.scm.provider.hg.HgConfig
| Bug | Category | Details | Line | Priority |
|---|
| org.apache.maven.scm.provider.hg.HgConfig.compareVersion(String, String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 120 | Medium |
org.apache.maven.scm.provider.hg.HgScmProvider
| Bug | Category | Details | Line | Priority |
|---|
| Dead store to file in org.apache.maven.scm.provider.hg.HgScmProvider.parseScmUrl(String) | STYLE | DLS_DEAD_LOCAL_STORE | 142 | High |
| Possible null pointer dereference of path in org.apache.maven.scm.provider.hg.HgScmProvider.makeProviderScmRepository(File) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 164 | Medium |
org.apache.maven.scm.provider.hg.HgUtils
| Bug | Category | Details | Line | Priority |
|---|
| org.apache.maven.scm.provider.hg.HgUtils.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 68 | Medium |
org.apache.maven.scm.provider.hg.command.changelog.HgChangeLogConsumer
| Bug | Category | Details | Line | Priority |
|---|
| Unread field: org.apache.maven.scm.provider.hg.command.changelog.HgChangeLogConsumer.currentTag | PERFORMANCE | URF_UNREAD_FIELD | 149 | Medium |
org.apache.maven.scm.provider.hg.command.diff.HgDiffConsumer
| Bug | Category | Details | Line | Priority |
|---|
| Unread field: org.apache.maven.scm.provider.hg.command.diff.HgDiffConsumer.workingDirectory | PERFORMANCE | URF_UNREAD_FIELD | 84 | Medium |