Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.954 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 256 | src/NHibernate/SqlCommand/QuerySelect.cs |
2 | 3 | 260 | src/NHibernate/SqlCommand/QuerySelect.cs |
3 | 3 | 264 | src/NHibernate/SqlCommand/QuerySelect.cs |
| ||||
if (groupBy.Count > 0) { builder.Add(" group by ").Add(groupBy.ToSqlString()); } |
| ||||
if (having.Count > 0) { builder.Add(" having ").Add(having.ToSqlString()); } |
| ||||
if (orderBy.Count > 0) { builder.Add(" order by ").Add(orderBy.ToSqlString()); } |
| |||
if ( [[#variable4a25c7e0]].Count > 0) { builder.Add( [[#variable4a25c620]]).Add( [[#variable4a25c7e0]].ToSqlString()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4a25c7e0]] | orderBy |
1 | 2 | [[#4a25c7e0]] | having |
1 | 3 | [[#4a25c7e0]] | groupBy |
2 | 1 | [[#4a25c620]] | " order by " |
2 | 2 | [[#4a25c620]] | " having " |
2 | 3 | [[#4a25c620]] | " group by " |