Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.974 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 4470 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 11 | 4482 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
try { int countMoreFums = q.MoreFums.Count; } catch (LazyInitializationException lie) { Debug.WriteLine("caught expected " + lie.ToString()); ok = true; } Assert.IsTrue(ok, "lazy collection with one-to-many"); |
| ||||
try { int countFums = q.Fums.Count; } catch (LazyInitializationException lie) { Debug.WriteLine("caught expected " + lie.ToString()); ok = true; } Assert.IsTrue(ok, "lazy collection with many-to-many"); |
| |||
try { int [[#variable274752a0]]= q. [[#variable274751e0]].Count; } catch (LazyInitializationException lie) { Debug.WriteLine("caught expected " + lie.ToString()); ok = true; } Assert.IsTrue(ok, [[#variable274751c0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#274752a0]] | countMoreFums |
1 | 2 | [[#274752a0]] | countFums |
2 | 1 | [[#274751e0]] | MoreFums |
2 | 2 | [[#274751e0]] | Fums |
3 | 1 | [[#274751c0]] | "lazy collection with one-to-many" |
3 | 2 | [[#274751c0]] | "lazy collection with many-to-many" |