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 |
|---|---|---|---|
| 20 | 9 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer | 5 |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser | 4 |
org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 29 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 33 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 474 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 52 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 87 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 810 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 41 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 76 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.SQLFederationDistSQLStatementParser.sqlFederationRuleDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 325-339 | Medium |
