SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
101 20 0 0

Files

Class Bugs
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer 5
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser 7
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer 5
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser 3

org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 39 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 43 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 862 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 70 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 120 Medium

org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 4736 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 86 Medium
org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 136 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.execute() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 294-478 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.ignoreTables() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3874-3932 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.refreshTableMetadata() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 956-960 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.KernelDistSQLStatementParser.storageUnitDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3461-3471 Medium

org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 27 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 31 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 355 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 48 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 80 Medium

org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 364 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 35 Medium
org.apache.shardingsphere.distsql.parser.autogen.UtilityDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 67 Medium