The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
13 | 10 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.shadow.distsql.segment.ShadowRuleSegment.getShadowTableRules() may expose internal representation by returning ShadowRuleSegment.shadowTableRules | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
new org.apache.shardingsphere.shadow.distsql.segment.ShadowRuleSegment(String, String, String, Map) may expose internal representation by storing an externally mutable object into ShadowRuleSegment.shadowTableRules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.shadow.distsql.statement.AlterShadowRuleStatement.getRules() may expose internal representation by returning AlterShadowRuleStatement.rules | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
new org.apache.shardingsphere.shadow.distsql.statement.AlterShadowRuleStatement(Collection) may expose internal representation by storing an externally mutable object into AlterShadowRuleStatement.rules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.shadow.distsql.statement.CreateShadowRuleStatement.getRules() may expose internal representation by returning CreateShadowRuleStatement.rules | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
new org.apache.shardingsphere.shadow.distsql.statement.CreateShadowRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into CreateShadowRuleStatement.rules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.shadow.distsql.statement.DropShadowAlgorithmStatement.getNames() may expose internal representation by returning DropShadowAlgorithmStatement.names | MALICIOUS_CODE | EI_EXPOSE_REP | 31 | Medium |
new org.apache.shardingsphere.shadow.distsql.statement.DropShadowAlgorithmStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into DropShadowAlgorithmStatement.names | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.shadow.distsql.statement.DropShadowRuleStatement.getNames() may expose internal representation by returning DropShadowRuleStatement.names | MALICIOUS_CODE | EI_EXPOSE_REP | 31 | Medium |
new org.apache.shardingsphere.shadow.distsql.statement.DropShadowRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into DropShadowRuleStatement.names | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |