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
19 7 0 0

Files

Class Bugs
org.apache.shardingsphere.shadow.distsql.handler.update.AlterDefaultShadowAlgorithmExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.AlterShadowRuleExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.CreateDefaultShadowAlgorithmExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.CreateShadowRuleExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.DropDefaultShadowAlgorithmExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowAlgorithmExecutor 1
org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowRuleExecutor 1

org.apache.shardingsphere.shadow.distsql.handler.update.AlterDefaultShadowAlgorithmExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.AlterShadowRuleExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.CreateDefaultShadowAlgorithmExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.CreateShadowRuleExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.DropDefaultShadowAlgorithmExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowAlgorithmExecutor

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

org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowRuleExecutor

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