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
45 18 0 0

Files

Class Bugs
org.apache.shardingsphere.sharding.distsql.handler.query.ShowShardingTableNodesExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.AlterDefaultShardingStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGenerateStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGeneratorExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableReferenceRuleExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableRuleExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.CreateDefaultShardingStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGenerateStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGeneratorExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableReferenceRuleExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableRuleExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropDefaultShardingStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAlgorithmExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAuditorExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGenerateStrategyExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGeneratorExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableReferenceExecutor 1
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableRuleExecutor 1

org.apache.shardingsphere.sharding.distsql.handler.query.ShowShardingTableNodesExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.query.ShowShardingTableNodesExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into ShowShardingTableNodesExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.AlterDefaultShardingStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.AlterDefaultShardingStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into AlterDefaultShardingStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 46 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGenerateStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGenerateStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into AlterShardingKeyGenerateStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGeneratorExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingKeyGeneratorExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into AlterShardingKeyGeneratorExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 37 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableReferenceRuleExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableReferenceRuleExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into AlterShardingTableReferenceRuleExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 48 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableRuleExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableRuleExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into AlterShardingTableRuleExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.CreateDefaultShardingStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.CreateDefaultShardingStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into CreateDefaultShardingStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 44 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGenerateStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGenerateStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into CreateShardingKeyGenerateStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGeneratorExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingKeyGeneratorExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into CreateShardingKeyGeneratorExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 37 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableReferenceRuleExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableReferenceRuleExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into CreateShardingTableReferenceRuleExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 47 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableRuleExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableRuleExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into CreateShardingTableRuleExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 40 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropDefaultShardingStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropDefaultShardingStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropDefaultShardingStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 38 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAlgorithmExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAlgorithmExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingAlgorithmExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAuditorExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAuditorExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingAuditorExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGenerateStrategyExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGenerateStrategyExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingKeyGenerateStrategyExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 38 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGeneratorExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGeneratorExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingKeyGeneratorExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 40 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableReferenceExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableReferenceExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingTableReferenceExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 40 Medium

org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableRuleExecutor

Bug Category Details Line Priority
org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableRuleExecutor.setDatabase(ShardingSphereDatabase) may expose internal representation by storing an externally mutable object into DropShardingTableRuleExecutor.database MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium