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 |
---|---|---|---|
152 | 46 | 0 | 0 |
Class | Bugs |
---|---|
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer | 5 |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser | 41 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer.channelNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 78 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer.modeNames should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 82 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 2630 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 144 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementLexer.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 232 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.antlr.v4.runtime.RuleContext to org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser$BitExprContext in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.sempred(RuleContext, int, int) | STYLE | BC_UNCONFIRMED_CAST | 10633 | Medium |
Unchecked/unconfirmed cast from org.antlr.v4.runtime.RuleContext to org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser$BooleanPrimaryContext in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.sempred(RuleContext, int, int) | STYLE | BC_UNCONFIRMED_CAST | 10631 | Medium |
Unchecked/unconfirmed cast from org.antlr.v4.runtime.RuleContext to org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser$ExprContext in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.sempred(RuleContext, int, int) | STYLE | BC_UNCONFIRMED_CAST | 10629 | Medium |
Unchecked/unconfirmed cast from org.antlr.v4.runtime.RuleContext to org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser$SimpleExprContext in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.sempred(RuleContext, int, int) | STYLE | BC_UNCONFIRMED_CAST | 10635 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser._decisionToDFA should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 11681 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.ruleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 158 | Medium |
org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 246 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.alterDefinitionClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2158-2191 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.assignment() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2749-2753 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.assignmentValue() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2951-2970 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.assignmentValues() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2876-2910 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.bitExpr(int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6931-7073 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.bitValueLiterals() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5311-5315 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.booleanPrimary(int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6526-6600 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.castFunction() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7935-7945 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.columnName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5810-5816 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.columnNames() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6072-6076 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.createDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1138-1157 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.createTable() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 533-543 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.dataType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9170-9174 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.dataTypeName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9288-9498 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.dataTypeOption() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1350-1360 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.execute() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 359-453 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.expr(int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6258-6280 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.hexadecimalLiterals() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5250-5254 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.ignoredIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9781-9787 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.insert() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2484-2494 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.keyPart() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1751-1775 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.levelOfIsolation() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9995-10027 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.limitClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4690-4696 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.literals() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4955-5002 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.predicate() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6835-6841 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.projection() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3672-3682 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.referenceDefinition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1508-1530 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.referenceOption() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1598-1637 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.simpleExpr(int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7180-7296 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.stringLiterals() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5058-5062 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.tableFactor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4204-4269 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.tableName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5758-5764 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.variable() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5639-5643 | Medium |
Switch statement found in org.apache.shardingsphere.sql.parser.autogen.SQL92StatementParser.viewName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5873-5879 | Medium |