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
91 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 874 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 121 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 6098 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 102 Medium
org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 152 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.execute() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 317-513 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingAutoTableRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1995-2001 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingStrategy() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2565-2571 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingTableRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2084-2090 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser.shardingTableRuleDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1908-1918 Medium