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
10 5 0 0

Files

Class Bugs
org.apache.shardingsphere.single.distsql.handler.query.ShowSingleTablesExecutor 1
org.apache.shardingsphere.single.distsql.handler.query.ShowUnloadedSingleTablesExecutor 1
org.apache.shardingsphere.single.distsql.handler.update.LoadSingleTableExecutor 1
org.apache.shardingsphere.single.distsql.handler.update.SetDefaultSingleTableStorageUnitExecutor 1
org.apache.shardingsphere.single.distsql.handler.update.UnloadSingleTableExecutor 1

org.apache.shardingsphere.single.distsql.handler.query.ShowSingleTablesExecutor

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

org.apache.shardingsphere.single.distsql.handler.query.ShowUnloadedSingleTablesExecutor

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

org.apache.shardingsphere.single.distsql.handler.update.LoadSingleTableExecutor

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

org.apache.shardingsphere.single.distsql.handler.update.SetDefaultSingleTableStorageUnitExecutor

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

org.apache.shardingsphere.single.distsql.handler.update.UnloadSingleTableExecutor

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