SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.7.0
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
60 |
11 |
0 |
3 |
com.meterware.simplestub.ClassLoadingSupport
Bug |
Category |
Details |
Line |
Priority |
com.meterware.simplestub.ClassLoadingSupport.reloadClass(Class) creates a com.meterware.simplestub.ClassLoadingSupport$RedefiningClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
35 |
Medium |
com.meterware.simplestub.generation.javassist.JavassistStubGeneratorFactory
Bug |
Category |
Details |
Line |
Priority |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
36 |
Medium |
com.meterware.simplestub.stubs.InMemoryFileSystem
Bug |
Category |
Details |
Line |
Priority |
com.meterware.simplestub.stubs.InMemoryFileSystem.provider() may expose internal representation by returning InMemoryFileSystem.provider |
MALICIOUS_CODE |
EI_EXPOSE_REP |
130 |
Medium |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
104 |
Medium |
Private method com.meterware.simplestub.stubs.InMemoryFileSystem.toBytes(String, String) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
99 |
Medium |