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 |
13 |
10 |
0 |
0 |
org.apache.shardingsphere.shadow.distsql.segment.ShadowRuleSegment
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 |
org.apache.shardingsphere.shadow.distsql.statement.AlterShadowRuleStatement
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 |
org.apache.shardingsphere.shadow.distsql.statement.CreateShadowRuleStatement
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 |
org.apache.shardingsphere.shadow.distsql.statement.DropShadowAlgorithmStatement
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 |
org.apache.shardingsphere.shadow.distsql.statement.DropShadowRuleStatement
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 |