The following document contains the results of SpotBugs
SpotBugs Version is 4.0.4
Threshold is medium
Effort is default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 26 | 6 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.reportDeleteFailure(boolean, File, Exception): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 243 | High |
| org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.tearDown() forces garbage collection; extremely dubious except in benchmarking code | PERFORMANCE | DM_GC | 186 | High |
| Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.write(String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 540 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.eclipse.jgit.junit.LocalDiskRepositoryTestCase$CleanupThread.run() forces garbage collection; extremely dubious except in benchmarking code | PERFORMANCE | DM_GC | 615 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread public/protected field: org.eclipse.jgit.junit.RepositoryTestCase.trash | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 187 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exceptional return value of java.io.File.setReadOnly() ignored in org.eclipse.jgit.junit.TestRepository.packAndPrune() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 923 | Medium |