SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.7.3
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 40 |
24 |
0 |
0 |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLKillProcessExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLKillProcessExecutor(MySQLKillStatement) may expose internal representation by storing an externally mutable object into MySQLKillProcessExecutor.killStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
34 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLSetVariableAdminExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLSetVariableAdminExecutor(SetStatement) may expose internal representation by storing an externally mutable object into MySQLSetVariableAdminExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
60 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLUseDatabaseExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.MySQLUseDatabaseExecutor(MySQLUseStatement) may expose internal representation by storing an externally mutable object into MySQLUseDatabaseExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
34 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.NoResourceShowExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.NoResourceShowExecutor.getExpressions() may expose internal representation by returning NoResourceShowExecutor.expressions |
MALICIOUS_CODE |
EI_EXPOSE_REP |
57 |
Medium |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.NoResourceShowExecutor.getSqlStatement() may expose internal representation by returning NoResourceShowExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
55 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.NoResourceShowExecutor(SelectStatement) may expose internal representation by storing an externally mutable object into NoResourceShowExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
49 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.SelectInformationSchemataExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.SelectInformationSchemataExecutor(SelectStatement, String, List) may expose internal representation by storing an externally mutable object into SelectInformationSchemataExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
74 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowConnectionIdExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowConnectionIdExecutor.getSqlStatement() may expose internal representation by returning ShowConnectionIdExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
48 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowConnectionIdExecutor(SelectStatement) may expose internal representation by storing an externally mutable object into ShowConnectionIdExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
42 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowVersionExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowVersionExecutor.getSqlStatement() may expose internal representation by returning ShowVersionExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
49 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.ShowVersionExecutor(SelectStatement) may expose internal representation by storing an externally mutable object into ShowVersionExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
43 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.UnicastResourceShowExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.select.UnicastResourceShowExecutor(SelectStatement, String) may expose internal representation by storing an externally mutable object into UnicastResourceShowExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
62 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowCreateDatabaseExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowCreateDatabaseExecutor.getSqlStatement() may expose internal representation by returning MySQLShowCreateDatabaseExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
50 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowCreateDatabaseExecutor(MySQLShowCreateDatabaseStatement) may expose internal representation by storing an externally mutable object into MySQLShowCreateDatabaseExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
46 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowDatabasesExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowDatabasesExecutor.getSqlStatement() may expose internal representation by returning MySQLShowDatabasesExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
50 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowDatabasesExecutor(MySQLShowDatabasesStatement) may expose internal representation by storing an externally mutable object into MySQLShowDatabasesExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
46 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowFunctionStatusExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowFunctionStatusExecutor.getSqlStatement() may expose internal representation by returning MySQLShowFunctionStatusExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
44 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowFunctionStatusExecutor(MySQLShowFunctionStatusStatement) may expose internal representation by storing an externally mutable object into MySQLShowFunctionStatusExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
40 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowProcedureStatusExecutor
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowProcedureStatusExecutor.getSqlStatement() may expose internal representation by returning MySQLShowProcedureStatusExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP |
44 |
Medium |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowProcedureStatusExecutor(MySQLShowProcedureStatusStatement) may expose internal representation by storing an externally mutable object into MySQLShowProcedureStatusExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
40 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowProcessListExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowProcessListExecutor(MySQLShowProcessListStatement) may expose internal representation by storing an externally mutable object into MySQLShowProcessListExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
45 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowTablesExecutor
| Bug |
Category |
Details |
Line |
Priority |
| new org.apache.shardingsphere.proxy.backend.mysql.handler.admin.executor.show.MySQLShowTablesExecutor(MySQLShowTablesStatement) may expose internal representation by storing an externally mutable object into MySQLShowTablesExecutor.sqlStatement |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
53 |
Medium |
org.apache.shardingsphere.proxy.backend.mysql.state.MySQLProxyStateSupportedSQLProvider
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.proxy.backend.mysql.state.MySQLProxyStateSupportedSQLProvider.getSupportedSQLStatementTypesOnUnavailableState() may expose internal representation by returning MySQLProxyStateSupportedSQLProvider.SUPPORTED_SQL_STATEMENT_TYPES_ON_UNAVAILABLE_STATE |
MALICIOUS_CODE |
EI_EXPOSE_REP |
46 |
Medium |
| org.apache.shardingsphere.proxy.backend.mysql.state.MySQLProxyStateSupportedSQLProvider.getUnsupportedSQLStatementTypesOnReadyState() may expose internal representation by returning MySQLProxyStateSupportedSQLProvider.UNSUPPORTED_SQL_STATEMENT_TYPES_ON_READY_STATE |
MALICIOUS_CODE |
EI_EXPOSE_REP |
41 |
Medium |