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 |
|---|---|---|---|
| 29 | 9 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer | 5 |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser | 4 |
org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 33 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 37 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 637 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 59 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 98 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 1573 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 49 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 88 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MaskDistSQLStatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 172-206 | Medium |
