The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
36 | 10 | 0 | 0 |
Class | Bugs |
---|---|
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer | 5 |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser | 5 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 33 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 37 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 609 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 58 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 1907 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 57 | Medium |
org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 96 | Medium |
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 182-222 | Medium |
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ReadwriteSplittingDistSQLStatementParser.readwriteSplittingRuleDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1201-1207 | Medium |