Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.964 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 26 | src/NHibernate/Tool/hbm2ddl/SchemaUpdate.cs |
2 | 8 | 21 | src/NHibernate/Tool/hbm2ddl/SchemaValidator.cs |
| ||||
configuration = cfg; dialect = Dialect.Dialect.GetDialect(configProperties); var props = new Dictionary<string, string> (dialect.DefaultProperties); foreach ( var prop in configProperties) { props[prop.Key] = prop.Value; } connectionHelper = new ManagedProviderConnectionHelper(props); |
| ||||
configuration = cfg; dialect = Dialect.Dialect.GetDialect(connectionProperties); IDictionary<string, string> props = new Dictionary<string, string> (dialect.DefaultProperties); foreach ( var prop in connectionProperties) { props[prop.Key] = prop.Value; } connectionHelper = new ManagedProviderConnectionHelper(props); |
| |||
configuration = cfg; dialect = Dialect.Dialect.GetDialect( [[#variable293d93a0]]); [[#variable5842b4a0]]props = new Dictionary<string, string> (dialect.DefaultProperties); foreach ( var prop in [[#variable293d93a0]]) { props[prop.Key] = prop.Value; } connectionHelper = new ManagedProviderConnectionHelper(props); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#293d93a0]] | connectionProperties |
1 | 2 | [[#293d93a0]] | configProperties |
2 | 1 | [[#5842b4a0]] | IDictionary<string, string> |
2 | 2 | [[#5842b4a0]] | var |