The following document contains the results of SpotBugs
SpotBugs Version is 4.9.6
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
17 | 4 | 0 | 0 |
Class | Bugs |
---|---|
org.apache.shardingsphere.infra.merge.MergeEngine | 3 |
org.apache.shardingsphere.infra.merge.result.impl.memory.MemoryMergedResult | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.shardingsphere.infra.merge.MergeEngine(ShardingSphereMetaData, ShardingSphereDatabase, ConfigurationProperties, ConnectionContext) may expose internal representation by storing an externally mutable object into MergeEngine.connectionContext | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
new org.apache.shardingsphere.infra.merge.MergeEngine(ShardingSphereMetaData, ShardingSphereDatabase, ConfigurationProperties, ConnectionContext) may expose internal representation by storing an externally mutable object into MergeEngine.database | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
new org.apache.shardingsphere.infra.merge.MergeEngine(ShardingSphereMetaData, ShardingSphereDatabase, ConfigurationProperties, ConnectionContext) may expose internal representation by storing an externally mutable object into MergeEngine.metaData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class org.apache.shardingsphere.infra.merge.result.impl.memory.MemoryMergedResult at new org.apache.shardingsphere.infra.merge.result.impl.memory.MemoryMergedResult(ShardingSphereRule, ShardingSphereSchema, SQLStatementContext, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 57 | Medium |