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 |
|---|---|---|---|
| 7 | 4 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.test.infra.fixture.rule.MockedRuleConfiguration | 2 |
| org.apache.shardingsphere.test.infra.fixture.yaml.MockedYamlRuleConfiguration | 2 |
org.apache.shardingsphere.test.infra.fixture.rule.MockedRuleConfiguration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.test.infra.fixture.rule.MockedRuleConfiguration.getNamed() may expose internal representation by returning MockedRuleConfiguration.named | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
| new org.apache.shardingsphere.test.infra.fixture.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.infra.fixture.yaml.MockedYamlRuleConfiguration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.test.infra.fixture.yaml.MockedYamlRuleConfiguration.getNamed() may expose internal representation by returning MockedYamlRuleConfiguration.named | MALICIOUS_CODE | EI_EXPOSE_REP | 43 | Medium |
| org.apache.shardingsphere.test.infra.fixture.yaml.MockedYamlRuleConfiguration.setNamed(Map) may expose internal representation by storing an externally mutable object into MockedYamlRuleConfiguration.named | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
