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 |
|---|---|---|---|
| 42 | 9 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer | 5 |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser | 4 |
org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 33 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 37 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 623 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 59 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 99 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 2378 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 57 | Medium |
| org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 97 | Medium |
| Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShadowDistSQLStatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 202-278 | Medium |
