SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
7 8 0 0

Files

Class Bugs
org.apache.shardingsphere.encrypt.distsql.segment.EncryptRuleSegment 2
org.apache.shardingsphere.encrypt.distsql.statement.AlterEncryptRuleStatement 2
org.apache.shardingsphere.encrypt.distsql.statement.CreateEncryptRuleStatement 2
org.apache.shardingsphere.encrypt.distsql.statement.DropEncryptRuleStatement 2

org.apache.shardingsphere.encrypt.distsql.segment.EncryptRuleSegment

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.distsql.segment.EncryptRuleSegment.getColumns() may expose internal representation by returning EncryptRuleSegment.columns MALICIOUS_CODE EI_EXPOSE_REP 35 Medium
new org.apache.shardingsphere.encrypt.distsql.segment.EncryptRuleSegment(String, Collection) may expose internal representation by storing an externally mutable object into EncryptRuleSegment.columns MALICIOUS_CODE EI_EXPOSE_REP2 29 Medium

org.apache.shardingsphere.encrypt.distsql.statement.AlterEncryptRuleStatement

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.distsql.statement.AlterEncryptRuleStatement.getRules() may expose internal representation by returning AlterEncryptRuleStatement.rules MALICIOUS_CODE EI_EXPOSE_REP 34 Medium
new org.apache.shardingsphere.encrypt.distsql.statement.AlterEncryptRuleStatement(Collection) may expose internal representation by storing an externally mutable object into AlterEncryptRuleStatement.rules MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium

org.apache.shardingsphere.encrypt.distsql.statement.CreateEncryptRuleStatement

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.distsql.statement.CreateEncryptRuleStatement.getRules() may expose internal representation by returning CreateEncryptRuleStatement.rules MALICIOUS_CODE EI_EXPOSE_REP 32 Medium
new org.apache.shardingsphere.encrypt.distsql.statement.CreateEncryptRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into CreateEncryptRuleStatement.rules MALICIOUS_CODE EI_EXPOSE_REP2 36 Medium

org.apache.shardingsphere.encrypt.distsql.statement.DropEncryptRuleStatement

Bug Category Details Line Priority
org.apache.shardingsphere.encrypt.distsql.statement.DropEncryptRuleStatement.getTables() may expose internal representation by returning DropEncryptRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP 31 Medium
new org.apache.shardingsphere.encrypt.distsql.statement.DropEncryptRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into DropEncryptRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium