FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
18 |
6 |
0 |
0 |
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase.tearDown() forces garbage collection; extremely dubious except in benchmarking code |
PERFORMANCE |
DM_GC |
168 |
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 |
395 |
Medium |
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase$CleanupThread
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.LocalDiskRepositoryTestCase$CleanupThread.run() forces garbage collection; extremely dubious except in benchmarking code |
PERFORMANCE |
DM_GC |
468 |
High |
org.eclipse.jgit.junit.MockSystemReader$MockConfig
Bug |
Category |
Details |
Line |
Priority |
Should org.eclipse.jgit.junit.MockSystemReader$MockConfig be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
65-77 |
Medium |
org.eclipse.jgit.junit.RepositoryTestCase
Bug |
Category |
Details |
Line |
Priority |
Unread public/protected field: org.eclipse.jgit.junit.RepositoryTestCase.trash |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
154 |
Medium |
org.eclipse.jgit.junit.TestRepository
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 |
846 |
Medium |