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.single.distsql.statement.rdl.LoadSingleTableStatement | 2 |
| org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement | 2 |
org.apache.shardingsphere.single.distsql.statement.rdl.LoadSingleTableStatement
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.single.distsql.statement.rdl.LoadSingleTableStatement.getTables() may expose internal representation by returning LoadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
| new org.apache.shardingsphere.single.distsql.statement.rdl.LoadSingleTableStatement(Collection) may expose internal representation by storing an externally mutable object into LoadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement.getTables() may expose internal representation by returning UnloadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
| new org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into UnloadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 29 | Medium |
