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 |
|---|---|---|---|
| 116 | 9 | 0 | 0 |
| Class | Bugs |
|---|---|
| cldcunit.runner.InstrumentedTestCaseHelper | 1 |
| cldcunit.runner.TestRunner | 5 |
| junit.framework.TestCase | 1 |
| junit.framework.TestResult$1 | 1 |
| junit.framework.TestSuite$2 | 1 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should cldcunit.runner.InstrumentedTestCaseHelper.createAllTestMethods() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 30 |
| Bug | Category | Details | Line |
|---|---|---|---|
| cldcunit.runner.TestRunner.createTestSuite(String[]) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 360 |
| cldcunit.runner.TestRunner.theInstance should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 56 |
| Exception is caught when Exception is not thrown in cldcunit.runner.TestRunner.createTestSuite(String[]) | STYLE | REC_CATCH_EXCEPTION | 377 |
| Exception is caught when Exception is not thrown in cldcunit.runner.TestRunner.createTestSuite(TestCase[]) | STYLE | REC_CATCH_EXCEPTION | 404 |
| Write to static field cldcunit.runner.TestRunner.theInstance from instance method cldcunit.runner.TestRunner.destroyApp(boolean) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 427 |
| Bug | Category | Details | Line |
|---|---|---|---|
| junit.framework.TestCase.getTestMethods() may expose internal representation by returning TestCase.decleredTestMethods | MALICIOUS_CODE | EI_EXPOSE_REP | 240 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class junit.framework.TestResult$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 111-114 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should junit.framework.TestSuite$2.getTestMethods() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 226 |