SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
8 4 0 0

Files

Class Bugs
org.apache.shardingsphere.test.fixture.infra.rule.MockedRuleConfiguration 2
org.apache.shardingsphere.test.fixture.infra.yaml.MockedYamlRuleConfiguration 2

org.apache.shardingsphere.test.fixture.infra.rule.MockedRuleConfiguration

Bug Category Details Line Priority
org.apache.shardingsphere.test.fixture.infra.rule.MockedRuleConfiguration.getNamed() may expose internal representation by returning MockedRuleConfiguration.named MALICIOUS_CODE EI_EXPOSE_REP 36 Medium
new org.apache.shardingsphere.test.fixture.infra.rule.MockedRuleConfiguration(String, Map) may expose internal representation by storing an externally mutable object into MockedRuleConfiguration.named MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium

org.apache.shardingsphere.test.fixture.infra.yaml.MockedYamlRuleConfiguration

Bug Category Details Line Priority
org.apache.shardingsphere.test.fixture.infra.yaml.MockedYamlRuleConfiguration.getNamed() may expose internal representation by returning MockedYamlRuleConfiguration.named MALICIOUS_CODE EI_EXPOSE_REP 43 Medium
org.apache.shardingsphere.test.fixture.infra.yaml.MockedYamlRuleConfiguration.setNamed(Map) may expose internal representation by storing an externally mutable object into MockedYamlRuleConfiguration.named MALICIOUS_CODE EI_EXPOSE_REP2 36 Medium