Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.962 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 141 | src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs |
2 | 6 | 147 | src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs |
| ||||
Assert.AreEqual(2, hive.Members.Count); s.Clear(); hive = (Hive)s.CreateQuery("from Hive h left join fetch h.location left join fetch h.members").UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized(hive.Members)); |
| ||||
Assert.AreEqual(2, hive.Members.Count); s.Clear(); x23y4 = (Alien)s.CreateQuery("from Alien a left join fetch a.hivemates where a.identity like 'x%'").UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized(x23y4.Hivemates)); |
| |||
Assert.AreEqual(2, hive.Members.Count); s.Clear(); [[#variable2d20fde0]]= ( [[#variable2d20fea0]])s.CreateQuery( [[#variable2d20fd40]]).UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized( [[#variable2d20fde0]]. [[#variable2d20fd20]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d20fde0]] | x23y4 |
1 | 2 | [[#2d20fde0]] | hive |
2 | 1 | [[#2d20fea0]] | Alien |
2 | 2 | [[#2d20fea0]] | Hive |
3 | 1 | [[#2d20fd40]] | "from Alien a left join fetch a.hivemates where a.identity like 'x%'" |
3 | 2 | [[#2d20fd40]] | "from Hive h left join fetch h.location left join fetch h.members" |
4 | 1 | [[#2d20fd20]] | Hivemates |
4 | 2 | [[#2d20fd20]] | Members |