CloneSet1584


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.974statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1104470
src/NHibernate.Test/Legacy/FooBarTest.cs
2114482
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
10
Source Line
4470
Source File
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");


Clone Instance
2
Line Count
11
Source Line
4482
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        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");


Clone AbstractionParameter Count: 3Parameter Bindings

try
{
   int [[#variable274752a0]]= q. [[#variable274751e0]].Count;
}
catch (LazyInitializationException lie)
{
   Debug.WriteLine("caught expected " + lie.ToString());
   ok = true;
}
Assert.IsTrue(ok, [[#variable274751c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#274752a0]]
countMoreFums 
12[[#274752a0]]
countFums 
21[[#274751e0]]
MoreFums 
22[[#274751e0]]
Fums 
31[[#274751c0]]
"lazy collection with one-to-many" 
32[[#274751c0]]
"lazy collection with many-to-many"