SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.2

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
79 13 0 0

Files

Class Bugs
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer 5
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser 8

org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 39 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 43 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 853 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 71 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 119 Medium

org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 5092 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 91 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 139 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.execute() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 285-445 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingAutoTableRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1550-1556 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingStrategy() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2326-2332 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingTableRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1638-1644 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingTableRuleDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1464-1474 Medium