SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
89 27 0 0

Files

Class Bugs
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer 5
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser 7
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer 5
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser 10

org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 30 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 34 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 500 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 54 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 91 Medium

org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 1525 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 47 Medium
org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 84 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.execute() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 164-192 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.readDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 461-475 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.transmissionRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 354-368 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.CDCDistSQLStatementParser.writeDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 585-599 Medium

org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 34 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 38 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 639 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 61 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 103 Medium

org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser

Bug Category Details Line Priority
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 3193 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 67 Medium
org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 109 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.execute() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 228-334 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.readDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 603-617 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.sourceTableName() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1666-1672 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.storageUnitDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1966-1976 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.targetTableName() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1718-1724 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.transmissionRule() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 496-510 Medium
Switch statement found in org.apache.shardingsphere.distsql.parser.autogen.MigrationDistSQLStatementParser.writeDefinition() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 727-741 Medium