| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 3 | 0.971 | statement_list[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 244 | src/NHibernate/Hql/Ast/ANTLR/Tree/IntoClause.cs |
| 2 | 9 | 332 | src/NHibernate/Util/ArrayHelper.cs |
| ||||
for (int i = 0; i < targetDatatypes.Length; i++)
{
if ( !AreSqlTypesCompatible(targetDatatypes[i], sourceDatatypes[i]))
{
return false;
}
}
return true;
|
| ||||
for (int i = 0; i < a.Length; i++)
{
if ( !Equals(a[i], b[i]))
{
return false;
}
}
return true;
|
| |||
for (int i = 0; i < [[#variable27a9f300]].Length; i++)
{
if ( ! [[#variable2724a6e0]]( [[#variable27a9f300]][i], [[#variable27a9f120]][i]))
{
return false;
}
}
return true;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#27a9f300]] | a |
| 1 | 2 | [[#27a9f300]] | targetDatatypes |
| 2 | 1 | [[#2724a6e0]] | Equals |
| 2 | 2 | [[#2724a6e0]] | AreSqlTypesCompatible |
| 3 | 1 | [[#27a9f120]] | b |
| 3 | 2 | [[#27a9f120]] | sourceDatatypes |