Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 2 | 0.976 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 1016 | src/NHibernate/Dialect/Dialect.cs |
2 | 15 | 1041 | src/NHibernate/Dialect/Dialect.cs |
| ||||
/// <summary> /// The syntax that is used to check if a constraint does not exists before creating it /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string GetIfNotExistsCreateConstraint(Table table, string name) { return ""; } /// <summary> /// The syntax that is used to close the if for a constraint exists check, used /// for dialects that requires begin/end for ifs /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string GetIfNotExistsCreateConstraintEnd(Table table, string name) { return ""; } |
| ||||
/// <summary> /// The syntax that is used to check if a constraint exists before dropping it /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string GetIfExistsDropConstraint(Table table, string name) { return ""; } /// <summary> /// The syntax that is used to close the if for a constraint exists check, used /// for dialects that requires begin/end for ifs /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string GetIfExistsDropConstraintEnd(Table table, string name) { return ""; } |
| |||
/// <summary> /// The syntax that is used to check if a constraint does not exists before creating it /// The syntax that is used to check if a constraint exists before dropping it /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string [[#variable70aeadc0]](Table table, string name) { return ""; } /// <summary> /// The syntax that is used to close the if for a constraint exists check, used /// for dialects that requires begin/end for ifs /// </summary> /// <param name="table">The table.</param> /// <param name="name">The name.</param> /// <returns></returns> public virtual string [[#variable70ae8a40]](Table table, string name) { return ""; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70aeadc0]] | GetIfNotExistsCreateConstraint |
1 | 2 | [[#70aeadc0]] | GetIfExistsDropConstraint |
2 | 1 | [[#70ae8a40]] | GetIfNotExistsCreateConstraintEnd |
2 | 2 | [[#70ae8a40]] | GetIfExistsDropConstraintEnd |