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 |
| 18 |
9 |
0 |
0 |
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.api.CreateConsistencyCheckJobParameter
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.api.CreateConsistencyCheckJobParameter.getAlgorithmProps() may expose internal representation by returning CreateConsistencyCheckJobParameter.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP |
37 |
Medium |
| new org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.api.CreateConsistencyCheckJobParameter(String, String, Properties, DatabaseType, DatabaseType) may expose internal representation by storing an externally mutable object into CreateConsistencyCheckJobParameter.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
29 |
Medium |
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.ConsistencyCheckJobConfiguration
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.ConsistencyCheckJobConfiguration.getAlgorithmProps() may expose internal representation by returning ConsistencyCheckJobConfiguration.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP |
42 |
Medium |
| new org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.ConsistencyCheckJobConfiguration(String, String, String, Properties, DatabaseType) may expose internal representation by storing an externally mutable object into ConsistencyCheckJobConfiguration.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
31 |
Medium |
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.yaml.config.YamlConsistencyCheckJobConfiguration
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.yaml.config.YamlConsistencyCheckJobConfiguration.getAlgorithmProps() may expose internal representation by returning YamlConsistencyCheckJobConfiguration.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP |
39 |
Medium |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.config.yaml.config.YamlConsistencyCheckJobConfiguration.setAlgorithmProps(Properties) may expose internal representation by storing an externally mutable object into YamlConsistencyCheckJobConfiguration.algorithmProps |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
30 |
Medium |
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.context.ConsistencyCheckJobItemContext
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.context.ConsistencyCheckJobItemContext.getProgressContext() may expose internal representation by returning ConsistencyCheckJobItemContext.progressContext |
MALICIOUS_CODE |
EI_EXPOSE_REP |
48 |
Medium |
org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.task.ConsistencyCheckTasksRunner
| Bug |
Category |
Details |
Line |
Priority |
| org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.task.ConsistencyCheckTasksRunner.getJobItemContext() may expose internal representation by returning ConsistencyCheckTasksRunner.jobItemContext |
MALICIOUS_CODE |
EI_EXPOSE_REP |
66 |
Medium |
| new org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.task.ConsistencyCheckTasksRunner(ConsistencyCheckJobItemContext) may expose internal representation by storing an externally mutable object into ConsistencyCheckTasksRunner.jobItemContext |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
80 |
Medium |