Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.983 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 444 | src/NHibernate/Dialect/MsSql2000Dialect.cs |
2 | 4 | 457 | src/NHibernate/Dialect/MsSql2000Dialect.cs |
| ||||
public override string GetIfExistsDropConstraint(Table table, string name) { string selectExistingObject = GetSelectExistingObject(name, table); return string.Format(@"if exists ({0})", selectExistingObject); } |
| ||||
public override string GetIfNotExistsCreateConstraint(Table table, string name) { string selectExistingObject = GetSelectExistingObject(name, table); return string.Format(@"if not exists ({0})", selectExistingObject); } |
| |||
public override string [[#variable27412740]](Table table, string name) { string selectExistingObject = GetSelectExistingObject(name, table); return string.Format( [[#variable274126a0]], selectExistingObject); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27412740]] | GetIfNotExistsCreateConstraint |
1 | 2 | [[#27412740]] | GetIfExistsDropConstraint |
2 | 1 | [[#274126a0]] | @"if not exists ({0})" |
2 | 2 | [[#274126a0]] | @"if exists ({0})" |