Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.962 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1158 | src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs |
2 | 3 | 141 | src/NHibernate/Loader/Custom/Sql/SQLQueryReturnProcessor.cs |
3 | 3 | 41 | src/NHibernate/SqlCommand/ForUpdateFragment.cs |
4 | 3 | 47 | src/NHibernate/SqlCommand/SelectFragment.cs |
| ||||
for ( int i = 0; i < specs.Length; i++) { ApplyParameterSpecification( specs[i]); } |
| ||||
// Now, process the returns for (int i = 0; i < queryReturns.Length; i++) { ProcessReturn(queryReturns[i]); } |
| ||||
for (int i = 0; i < keyColumns.Length; i++) { AddTableAlias(keyColumns[i]); } |
| ||||
for (int i = 0; i < columnNames.Length; i++) { AddColumn(columnNames[i]); } |
| |||
// Now, process the returns for (int i = 0; i < [[#variable28e26480]].Length; i++) { [[#variable28e26420]]( [[#variable28e26480]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28e26480]] | specs |
1 | 2 | [[#28e26480]] | queryReturns |
1 | 3 | [[#28e26480]] | keyColumns |
1 | 4 | [[#28e26480]] | columnNames |
2 | 1 | [[#28e26420]] | ApplyParameterSpecification |
2 | 2 | [[#28e26420]] | ProcessReturn |
2 | 3 | [[#28e26420]] | AddTableAlias |
2 | 4 | [[#28e26420]] | AddColumn |