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
9 6 0 0

Files

Class Bugs
org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration 4
org.apache.shardingsphere.encrypt.config.rule.EncryptTableRuleConfiguration 2

org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration.getEncryptors() may expose internal representation by returning EncryptRuleConfiguration.encryptors MALICIOUS_CODE EI_EXPOSE_REP 56 Medium
org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration.getTables() may expose internal representation by returning EncryptRuleConfiguration.tables MALICIOUS_CODE EI_EXPOSE_REP 51 Medium
new org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration(Collection, Map) may expose internal representation by storing an externally mutable object into EncryptRuleConfiguration.encryptors MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium
new org.apache.shardingsphere.encrypt.config.EncryptRuleConfiguration(Collection, Map) may expose internal representation by storing an externally mutable object into EncryptRuleConfiguration.tables MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

org.apache.shardingsphere.encrypt.config.rule.EncryptTableRuleConfiguration

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.config.rule.EncryptTableRuleConfiguration.getColumns() may expose internal representation by returning EncryptTableRuleConfiguration.columns MALICIOUS_CODE EI_EXPOSE_REP 43 Medium
new org.apache.shardingsphere.encrypt.config.rule.EncryptTableRuleConfiguration(String, Collection) may expose internal representation by storing an externally mutable object into EncryptTableRuleConfiguration.columns MALICIOUS_CODE EI_EXPOSE_REP2 33 Medium