Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.983 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 56 | src/NHibernate.Test/FilterTest/DynamicFilterTest.cs |
2 | 4 | 63 | src/NHibernate.Test/FilterTest/DynamicFilterTest.cs |
| ||||
sp = (Salesperson) session.Load( typeof(Salesperson), testData.steveId); Assert.AreEqual(1, sp.Orders.Count, "Filtered-collection not bypassing 2L-cache"); session.Close(); |
| ||||
sp = (Salesperson) session.Load( typeof(Salesperson), testData.steveId); Assert.AreEqual(2, sp.Orders.Count, "Actual cached version got over-written"); session.Close(); |
| |||
sp = (Salesperson)session.Load( typeof(Salesperson), testData.steveId); Assert.AreEqual( [[#variable27685580]], sp.Orders.Count, [[#variable27685560]]); session.Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27685580]] | 2 |
1 | 2 | [[#27685580]] | 1 |
2 | 1 | [[#27685560]] | "Actual cached version got over-written" |
2 | 2 | [[#27685560]] | "Filtered-collection not bypassing 2L-cache" |