CloneSet2116


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.956statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1743
src/NHibernate/Criterion/IdentifierEqExpression.cs
2747
src/NHibernate/Criterion/NullExpression.cs
Clone Instance
1
Line Count
7
Source Line
43
Source File
src/NHibernate/Criterion/IdentifierEqExpression.cs

                                if (i > 0)
                                {
                                        result.Add(" and ");
                                }

                                result.Add(columns[i]).
                                         Add(" = ");


Clone Instance
2
Line Count
7
Source Line
47
Source File
src/NHibernate/Criterion/NullExpression.cs

                                if (i > 0)
                                {
                                        sqlBuilder.Add(" and ");
                                }

                                sqlBuilder.Add(columnNames[i]).
                                         Add(" is null");


Clone AbstractionParameter Count: 3Parameter Bindings

if (i > 0)
{
    [[#variable58942480]].Add(" and ");
}
 [[#variable58942480]].Add( [[#variable700e2160]][i]).Add( [[#variable58942360]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58942480]]
sqlBuilder 
12[[#58942480]]
result 
21[[#700e2160]]
columnNames 
22[[#700e2160]]
columns 
31[[#58942360]]
" is null" 
32[[#58942360]]
" = "