CloneSet609


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.994statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1496
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs
24150
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs
34164
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs
Clone Instance
1
Line Count
4
Source Line
96
Source File
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs

                        SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ());
                        string expectedSql = "distinct sql_alias.Pay as y0_";
                        CompareSqlStrings(sqlString, expectedSql, 0);
                        session.Close();


Clone Instance
2
Line Count
4
Source Line
150
Source File
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs

                        SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ());
                        string expectedSql = "count(Pay)";
                        CompareSqlStrings(sqlString, expectedSql, 0);
                        session.Close();


Clone Instance
3
Line Count
4
Source Line
164
Source File
src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs

                        SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ());
                        string expectedSql = "count(Pay)";
                        CompareSqlStrings(sqlString, expectedSql, 0);
                        session.Close();


Clone AbstractionParameter Count: 1Parameter Bindings

SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ());
string expectedSql = [[#variable66ea3ec0]];
CompareSqlStrings(sqlString, expectedSql, 0);
session.Close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#66ea3ec0]]
"count(Pay)" 
12[[#66ea3ec0]]
"distinct sql_alias.Pay as y0_" 
13[[#66ea3ec0]]
"count(Pay)"