The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
| Classes | Bugs | Errors | Missing Classes | 
|---|---|---|---|
| 224 | 7 | 0 | 0 | 
| Bug | Category | Details | Line | Priority | 
|---|---|---|---|---|
| new org.apache.shardingsphere.infra.config.database.impl.DataSourceGeneratedDatabaseConfiguration(Map, Collection) may expose internal representation by storing an externally mutable object into DataSourceGeneratedDatabaseConfiguration.ruleConfigurations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 | Medium | 
| Bug | Category | Details | Line | Priority | 
|---|---|---|---|---|
| new org.apache.shardingsphere.infra.config.database.impl.DataSourceProvidedDatabaseConfiguration(Map, Collection) may expose internal representation by storing an externally mutable object into DataSourceProvidedDatabaseConfiguration.ruleConfigurations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium | 
| new org.apache.shardingsphere.infra.config.database.impl.DataSourceProvidedDatabaseConfiguration(Map, Collection, Map) may expose internal representation by storing an externally mutable object into DataSourceProvidedDatabaseConfiguration.dataSources | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium | 
| new org.apache.shardingsphere.infra.config.database.impl.DataSourceProvidedDatabaseConfiguration(Map, Collection, Map) may expose internal representation by storing an externally mutable object into DataSourceProvidedDatabaseConfiguration.ruleConfigurations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium | 
| Bug | Category | Details | Line | Priority | 
|---|---|---|---|---|
| new org.apache.shardingsphere.infra.instance.ComputeNodeInstanceContext(ComputeNodeInstance, ModeConfiguration, EventBusContext) may expose internal representation by storing an externally mutable object into ComputeNodeInstanceContext.instance | MALICIOUS_CODE | EI_EXPOSE_REP2 | 53 | Medium | 
| Bug | Category | Details | Line | Priority | 
|---|---|---|---|---|
| new org.apache.shardingsphere.infra.metadata.statistics.RowStatistics(List) may expose internal representation by storing an externally mutable object into RowStatistics.rows | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium | 
| Bug | Category | Details | Line | Priority | 
|---|---|---|---|---|
| Exception thrown in class org.apache.shardingsphere.infra.props.TypedProperties at new org.apache.shardingsphere.infra.props.TypedProperties(Class, Properties) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 45 | Medium |