The following document contains the results of SpotBugs
SpotBugs Version is 4.9.6
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
70 | 4 | 0 | 0 |
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 |
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 | 108 | High |
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 |
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 |