Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 5 | 1 | 0.993 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 94 | src/NHibernate.Test/Join/JoinTest.cs |
2 | 8 | 67 | src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs |
3 | 7 | 77 | src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs |
4 | 7 | 61 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
5 | 7 | 70 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
| ||||
foreach (Customer c in customers) { Assert.IsTrue(NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
| ||||
foreach (Customer c in customers) { // when proxies is working this is important Assert.IsTrue(NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
| ||||
foreach (Customer c in customers) { Assert.IsFalse(NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
| ||||
foreach (Customer c in customers) { Assert.IsTrue(NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
| ||||
foreach (Customer c in customers) { Assert.IsFalse(NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
| |||
foreach (Customer c in customers) { // when proxies is working this is important Assert. [[#variable70409c80]](NHibernateUtil.IsInitialized(c.Salesperson)); Assert.AreEqual("Mark", c.Salesperson.Name); } Assert.AreEqual(1, customers.Count); s.Clear(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70409c80]] | IsTrue |
1 | 2 | [[#70409c80]] | IsFalse |
1 | 3 | [[#70409c80]] | IsTrue |
1 | 4 | [[#70409c80]] | IsFalse |
1 | 5 | [[#70409c80]] | IsTrue |