Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.978 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 487 | src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs |
2 | 5 | 494 | src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs |
| ||||
// Does the collection referenced by this FromElement // specify an order-by attribute? If so, attach it to // the query's order-by if ( fromElement.QueryableCollection.HasOrdering) { string orderByFragment = fromElement. QueryableCollection. GetSQLOrderByString( fromElement.TableAlias); qn.GetOrderByClause().AddOrderFragment( orderByFragment); } |
| ||||
if ( fromElement.QueryableCollection.HasManyToManyOrdering) { string orderByFragment = fromElement.QueryableCollection. GetManyToManyOrderByString( fromElement.TableAlias); qn.GetOrderByClause().AddOrderFragment( orderByFragment); } |
| |||
// Does the collection referenced by this FromElement // specify an order-by attribute? If so, attach it to // the query's order-by if (fromElement.QueryableCollection. [[#variable6529ad00]]) { string orderByFragment = fromElement.QueryableCollection. [[#variable6529bc20]](fromElement.TableAlias); qn.GetOrderByClause().AddOrderFragment(orderByFragment); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6529ad00]] | HasManyToManyOrdering |
1 | 2 | [[#6529ad00]] | HasOrdering |
2 | 1 | [[#6529bc20]] | GetManyToManyOrderByString |
2 | 2 | [[#6529bc20]] | GetSQLOrderByString |