The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
8 | 4 | 0 | 0 |
Class | Bugs |
---|---|
org.apache.shardingsphere.test.fixture.infra.rule.MockedRuleConfiguration | 2 |
org.apache.shardingsphere.test.fixture.infra.yaml.MockedYamlRuleConfiguration | 2 |
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 |
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 |