Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.968 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 110 | src/NHibernate/Criterion/Order.cs |
2 | 3 | 120 | src/NHibernate/Criterion/Order.cs |
| ||||
/// <summary> /// Ascending order /// </summary> /// <param name="projection"></param> /// <returns></returns> public static Order Asc(IProjection projection) { return new Order(projection, true); } |
| ||||
/// <summary> /// Descending order /// </summary> /// <param name="projection"></param> /// <returns></returns> public static Order Desc(IProjection projection) { return new Order(projection, false); } |
| |||
/// <summary> /// Descending order /// Ascending order /// </summary> /// <param name="projection"></param> /// <returns></returns> public static Order [[#variable4702e920]](IProjection projection) { return new Order(projection, [[#variable4702e8c0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4702e920]] | Desc |
1 | 2 | [[#4702e920]] | Asc |
2 | 1 | [[#4702e8c0]] | false |
2 | 2 | [[#4702e8c0]] | true |