Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.956 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 43 | src/NHibernate/Criterion/IdentifierEqExpression.cs |
2 | 7 | 47 | src/NHibernate/Criterion/NullExpression.cs |
| ||||
if (i > 0) { result.Add(" and "); } result.Add(columns[i]). Add(" = "); |
| ||||
if (i > 0) { sqlBuilder.Add(" and "); } sqlBuilder.Add(columnNames[i]). Add(" is null"); |
| |||
if (i > 0) { [[#variable58942480]].Add(" and "); } [[#variable58942480]].Add( [[#variable700e2160]][i]).Add( [[#variable58942360]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58942480]] | sqlBuilder |
1 | 2 | [[#58942480]] | result |
2 | 1 | [[#700e2160]] | columnNames |
2 | 2 | [[#700e2160]] | columns |
3 | 1 | [[#58942360]] | " is null" |
3 | 2 | [[#58942360]] | " = " |