Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 1 | 0.994 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 96 | src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs |
2 | 4 | 150 | src/NHibernate.Test/ExpressionTest/Projection/ProjectionFixture.cs |
3 | 4 | 164 | 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(); |
| ||||
SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ()); string expectedSql = "count(Pay)"; CompareSqlStrings(sqlString, expectedSql, 0); session.Close(); |
| ||||
SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ()); string expectedSql = "count(Pay)"; CompareSqlStrings(sqlString, expectedSql, 0); session.Close(); |
| |||
SqlString sqlString = expression.ToSqlString(criteria, 0, criteriaQuery, new CollectionHelper.EmptyMapClass<string, IFilter> ()); string expectedSql = [[#variable66ea3ec0]]; CompareSqlStrings(sqlString, expectedSql, 0); session.Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#66ea3ec0]] | "count(Pay)" |
1 | 2 | [[#66ea3ec0]] | "distinct sql_alias.Pay as y0_" |
1 | 3 | [[#66ea3ec0]] | "count(Pay)" |