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 |
|---|---|---|---|
| 43 | 10 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer | 5 |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser | 5 |
org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 33 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 37 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 636 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 59 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 99 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 2243 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 60 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 100 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser.encryptColumnDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 662-668 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.EncryptDistSQLStatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 184-218 | Medium |
