Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.957 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 250 | src/NHibernate/SqlCommand/SqlSelectBuilder.cs |
2 | 4 | 256 | src/NHibernate/SqlCommand/SqlSelectBuilder.cs |
3 | 4 | 262 | src/NHibernate/SqlCommand/SqlSelectBuilder.cs |
| ||||
if (StringHelper.IsNotEmpty(groupByClause)) { sqlBuilder.Add(" GROUP BY "). Add(groupByClause); } |
| ||||
if (StringHelper.IsNotEmpty(havingClause)) { sqlBuilder.Add(" HAVING "). Add(havingClause); } |
| ||||
if (StringHelper.IsNotEmpty(orderByClause)) { sqlBuilder.Add(" ORDER BY "). Add(orderByClause); } |
| |||
if (StringHelper.IsNotEmpty( [[#variable271860e0]])) { sqlBuilder.Add( [[#variable271860c0]]).Add( [[#variable271860e0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#271860e0]] | orderByClause |
1 | 2 | [[#271860e0]] | havingClause |
1 | 3 | [[#271860e0]] | groupByClause |
2 | 1 | [[#271860c0]] | " ORDER BY " |
2 | 2 | [[#271860c0]] | " HAVING " |
2 | 3 | [[#271860c0]] | " GROUP BY " |