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.987 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 111 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
2 | 5 | 118 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
| ||||
Assert.AreEqual(1, result.Count); Assert.AreSame(q, result[0]); result = s.CreateQuery("from Person p where p.salary > 100 or p.name like 'E%'").List(); Assert.AreEqual(2, result.Count); |
| ||||
Assert.AreEqual(1, result.Count); Assert.AreSame(q, result[0]); result = s.CreateQuery("select p.salary from Person p where p.salary > 100").List(); Assert.AreEqual(1, result.Count); |
| |||
Assert.AreEqual(1, result.Count); Assert.AreSame(q, result[0]); result = s.CreateQuery( [[#variable2993acc0]]).List(); Assert.AreEqual( [[#variable2993ac00]], result.Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2993acc0]] | "select p.salary from Person p where p.salary > 100" |
1 | 2 | [[#2993acc0]] | "from Person p where p.salary > 100 or p.name like 'E%'" |
2 | 1 | [[#2993ac00]] | 1 |
2 | 2 | [[#2993ac00]] | 2 |