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 |
|---|---|---|---|
| 17 | 6 | 0 | 0 |
Files
org.apache.shardingsphere.data.pipeline.cdc.client.CDCClient
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.shardingsphere.data.pipeline.cdc.client.CDCClient.login(CDCLoginParameter): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 124 | High |
org.apache.shardingsphere.data.pipeline.cdc.client.context.ClientConnectionContext
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.data.pipeline.cdc.client.context.ClientConnectionContext.getResponseFutureMap() may expose internal representation by returning ClientConnectionContext.responseFutureMap | MALICIOUS_CODE | EI_EXPOSE_REP | 45 | Medium |
| org.apache.shardingsphere.data.pipeline.cdc.client.context.ClientConnectionContext.getStatus() may expose internal representation by returning ClientConnectionContext.status | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
| org.apache.shardingsphere.data.pipeline.cdc.client.context.ClientConnectionContext.getStreamingIds() may expose internal representation by returning ClientConnectionContext.streamingIds | MALICIOUS_CODE | EI_EXPOSE_REP | 43 | Medium |
org.apache.shardingsphere.data.pipeline.cdc.client.parameter.StartStreamingParameter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.data.pipeline.cdc.client.parameter.StartStreamingParameter.getSchemaTables() may expose internal representation by returning StartStreamingParameter.schemaTables | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
| new org.apache.shardingsphere.data.pipeline.cdc.client.parameter.StartStreamingParameter(String, Set, boolean) may expose internal representation by storing an externally mutable object into StartStreamingParameter.schemaTables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
