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 |
|---|---|---|---|
| 4 | 6 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.mask.config.MaskRuleConfiguration | 4 |
| org.apache.shardingsphere.mask.config.rule.MaskTableRuleConfiguration | 2 |
org.apache.shardingsphere.mask.config.MaskRuleConfiguration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.mask.config.MaskRuleConfiguration.getMaskAlgorithms() may expose internal representation by returning MaskRuleConfiguration.maskAlgorithms | MALICIOUS_CODE | EI_EXPOSE_REP | 55 | Medium |
| org.apache.shardingsphere.mask.config.MaskRuleConfiguration.getTables() may expose internal representation by returning MaskRuleConfiguration.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 50 | Medium |
| new org.apache.shardingsphere.mask.config.MaskRuleConfiguration(Collection, Map) may expose internal representation by storing an externally mutable object into MaskRuleConfiguration.maskAlgorithms | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
| new org.apache.shardingsphere.mask.config.MaskRuleConfiguration(Collection, Map) may expose internal representation by storing an externally mutable object into MaskRuleConfiguration.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
org.apache.shardingsphere.mask.config.rule.MaskTableRuleConfiguration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.mask.config.rule.MaskTableRuleConfiguration.getColumns() may expose internal representation by returning MaskTableRuleConfiguration.columns | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
| new org.apache.shardingsphere.mask.config.rule.MaskTableRuleConfiguration(String, Collection) may expose internal representation by storing an externally mutable object into MaskTableRuleConfiguration.columns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 31 | Medium |
