The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is max
Class | Bugs |
---|---|
randomunit.MethodInvocationLog | 3 |
randomunit.RandomizedTestCase | 2 |
randomunit.RandomizedTestCase$ProbabilitiesManager | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
randomunit.MethodInvocationLog.getArgs() may expose internal representation by returning MethodInvocationLog.args | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
randomunit.MethodInvocationLog.getTargetPools() may expose internal representation by returning MethodInvocationLog.targetPools | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
new randomunit.MethodInvocationLog(Method, MethodInvocationLog$PooledObject[], Object, String[]) may expose internal representation by storing an externally mutable object into MethodInvocationLog.targetPools | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in randomunit.RandomizedTestCase.invokeMethod() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 397 | Medium |
Repeated conditional test in randomunit.RandomizedTestCase.invokeMethod() | CORRECTNESS | RpC_REPEATED_CONDITIONAL_TEST | 396 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Nullcheck of m at line 713 of value previously dereferenced in randomunit.RandomizedTestCase$ProbabilitiesManager.addMethod(Method, double) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 712 | Medium |