Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.989 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 40 | src/NHibernate/Criterion/SQLProjection.cs |
2 | 2 | 48 | src/NHibernate/Criterion/SQLProjection.cs |
| ||||
{ //SqlString result = new SqlString(criteriaQuery.GetSQLAlias(criteria)); //result.Replace(sql, "{alias}"); //return result; return new SqlString(StringHelper.Replace(sql, "{alias}", criteriaQuery.GetSQLAlias(criteria))); } |
| ||||
{ return new SqlString(StringHelper.Replace(groupBy, "{alias}", criteriaQuery.GetSQLAlias(criteria))); } |
| |||
{ //SqlString result = new SqlString(criteriaQuery.GetSQLAlias(criteria)); //result.Replace(sql, "{alias}"); //return result; return new SqlString(StringHelper.Replace( [[#variable6f4cd3e0]], "{alias}", criteriaQuery.GetSQLAlias(criteria))); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f4cd3e0]] | groupBy |
1 | 2 | [[#6f4cd3e0]] | sql |