CloneSet1077


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3420.962non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131158
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs
23141
src/NHibernate/Loader/Custom/Sql/SQLQueryReturnProcessor.cs
3341
src/NHibernate/SqlCommand/ForUpdateFragment.cs
4347
src/NHibernate/SqlCommand/SelectFragment.cs
Clone Instance
1
Line Count
3
Source Line
1158
Source File
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs

                                for ( int i = 0; i < specs.Length; i++)
                                {
                                        ApplyParameterSpecification( specs[i]);
                                }


Clone Instance
2
Line Count
3
Source Line
141
Source File
src/NHibernate/Loader/Custom/Sql/SQLQueryReturnProcessor.cs

                        // Now, process the returns
                        for (int i = 0; i < queryReturns.Length; i++)
                        {
                                ProcessReturn(queryReturns[i]);
                        }


Clone Instance
3
Line Count
3
Source Line
41
Source File
src/NHibernate/SqlCommand/ForUpdateFragment.cs

                                                for (int i = 0; i < keyColumns.Length; i++)
                                                {
                                                        AddTableAlias(keyColumns[i]);
                                                }


Clone Instance
4
Line Count
3
Source Line
47
Source File
src/NHibernate/SqlCommand/SelectFragment.cs

                        for (int i = 0; i < columnNames.Length; i++)
                        {
                                AddColumn(columnNames[i]);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

// Now, process the returns
for (int i = 0; i < [[#variable28e26480]].Length; i++)
{
    [[#variable28e26420]]( [[#variable28e26480]][i]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28e26480]]
specs 
12[[#28e26480]]
queryReturns 
13[[#28e26480]]
keyColumns 
14[[#28e26480]]
columnNames 
21[[#28e26420]]
ApplyParameterSpecification 
22[[#28e26420]]
ProcessReturn 
23[[#28e26420]]
AddTableAlias 
24[[#28e26420]]
AddColumn