Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 0 | 1.000 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 60 | src/NHibernate.Test/NHSpecificTest/NH623/Fixture.cs |
2 | 4 | 68 | src/NHibernate.Test/NHSpecificTest/NH623/Fixture.cs |
| ||||
d = result[0] as Document; // collection is lazy loaded an so it is also filtered so we will get here one element Assert.AreEqual(1, d.Pages.Count); |
| ||||
d = result[0] as Document; // this assertion fails because if the collection is eager fetched it will contain all elements and will ignore the where clause. Assert.AreEqual(1, d.Pages.Count); |
| |||
d = result[0] as Document; // this assertion fails because if the collection is eager fetched it will contain all elements and will ignore the where clause. // collection is lazy loaded an so it is also filtered so we will get here one element Assert.AreEqual(1, d.Pages.Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |