| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 4 | 3 | 0.959 | statement_list[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 53 | src/NHibernate.Test/HQL/Ast/HqlFixture.cs |
| 2 | 2 | 56 | src/NHibernate.Test/HQL/Ast/HqlFixture.cs |
| 3 | 2 | 59 | src/NHibernate.Test/HQL/Ast/HqlFixture.cs |
| 4 | 2 | 62 | src/NHibernate.Test/HQL/Ast/HqlFixture.cs |
| ||||
plan = CreateQueryPlan("from Animal a");
Check(plan.ReturnMetadata, false, true);
|
| ||||
plan = CreateQueryPlan("select a as animal from Animal a");
Check(plan.ReturnMetadata, false, false);
|
| ||||
plan = CreateQueryPlan("from System.Object");
Check(plan.ReturnMetadata, true, true);
|
| ||||
plan = CreateQueryPlan("select o as entity from System.Object o");
Check(plan.ReturnMetadata, true, false);
|
| |||
plan = CreateQueryPlan( [[#variable5eb7ba60]]); Check(plan.ReturnMetadata, [[#variable2d2a6620]], [[#variable2d2a6600]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5eb7ba60]] | "select o as entity from System.Object o" |
| 1 | 2 | [[#5eb7ba60]] | "from System.Object" |
| 1 | 3 | [[#5eb7ba60]] | "select a as animal from Animal a" |
| 1 | 4 | [[#5eb7ba60]] | "from Animal a" |
| 2 | 1 | [[#2d2a6620]] | true |
| 2 | 2 | [[#2d2a6620]] | true |
| 2 | 3 | [[#2d2a6620]] | false |
| 2 | 4 | [[#2d2a6620]] | false |
| 3 | 1 | [[#2d2a6600]] | false |
| 3 | 2 | [[#2d2a6600]] | true |
| 3 | 3 | [[#2d2a6600]] | false |
| 3 | 4 | [[#2d2a6600]] | true |