The following document contains the results of SpotBugs
SpotBugs Version is 3.1.1
Threshold is medium
Effort is default
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.junit.JGitTestUtil.copyTestResource(String, File) may fail to clean up java.io.OutputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 186 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.tearDown() forces garbage collection; extremely dubious except in benchmarking code | PERFORMANCE | DM_GC | 201 | 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 | 549 | 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 | 630 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.eclipse.jgit.junit.MockSystemReader$MockConfig be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 73-85 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.eclipse.jgit.junit.RepositoryTestCase.trash | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 224 | 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 | 919 | Medium |