Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.960 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 83 | src/NHibernate/SqlCommand/SelectFragment.cs |
2 | 8 | 92 | src/NHibernate/SqlCommand/SelectFragment.cs |
| ||||
public SelectFragment AddColumns(string tableAlias, string[] columnNames, string[] columnAliases) { for (int i = 0; i < columnNames.Length; i++) { AddColumn(tableAlias, columnNames[i], columnAliases[i]); } return this ; } |
| ||||
public SelectFragment AddFormulas(string tableAlias, string[] formulas, string[] formulaAliases) { for (int i = 0; i < formulas.Length; i++) { AddFormula(tableAlias, formulas[i], formulaAliases[i]); } return this ; } |
| |||
public SelectFragment [[#variable4ad495a0]](string tableAlias, string[] [[#variable4ad49500]], string[] [[#variable4ad49480]]) { for (int i = 0; i < [[#variable4ad49500]].Length; i++) { [[#variable4ad49400]](tableAlias, [[#variable4ad49500]][i], [[#variable4ad49480]][i]); } return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ad495a0]] | AddFormulas |
1 | 2 | [[#4ad495a0]] | AddColumns |
2 | 1 | [[#4ad49500]] | formulas |
2 | 2 | [[#4ad49500]] | columnNames |
3 | 1 | [[#4ad49480]] | formulaAliases |
3 | 2 | [[#4ad49480]] | columnAliases |
4 | 1 | [[#4ad49400]] | AddFormula |
4 | 2 | [[#4ad49400]] | AddColumn |