The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 100 | 20 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 39 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 43 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 870 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 71 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 121 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 4743 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 86 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 136 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 294-478 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.ignoreTables() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3880-3938 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.refreshTableMetadata() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 967-971 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.storageUnitDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3467-3477 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 27 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 31 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 350 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 48 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 80 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 311 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 34 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 66 | Medium |