SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 70 |
4 |
0 |
0 |
org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.stream.JDBCStreamQueryResult
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.infra.executor.sql.execute.result.query.impl.driver.jdbc.type.stream.JDBCStreamQueryResult(ResultSet, boolean) may expose internal representation by storing an externally mutable object into JDBCStreamQueryResult.resultSet |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
57 |
Medium |
org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.AbstractMemoryQueryResult
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in org.apache.shardingsphere.infra.executor.sql.execute.result.query.type.memory.AbstractMemoryQueryResult.getCharacterStream(int): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
107 |
High |
org.apache.shardingsphere.infra.executor.sql.prepare.driver.DriverExecutionPrepareEngine
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.infra.executor.sql.prepare.driver.DriverExecutionPrepareEngine(JDBCDriverType, int, DatabaseConnectionManager, ExecutorStatementManager, StorageResourceOption, Collection, ShardingSphereMetaData) may expose internal representation by storing an externally mutable object into DriverExecutionPrepareEngine.metaData |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
78 |
Medium |
org.apache.shardingsphere.infra.executor.sql.process.ProcessRegistry
| Bug |
Category |
Details |
Line |
Priority |
| Public static org.apache.shardingsphere.infra.executor.sql.process.ProcessRegistry.getInstance() may expose internal representation by returning ProcessRegistry.INSTANCE |
MALICIOUS_CODE |
MS_EXPOSE_REP |
49 |
Medium |