CloneSet1472


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10250.952statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110300
src/NHibernate.Test/Legacy/FumTest.cs
28415
src/NHibernate.Test/Legacy/FumTest.cs
Clone Instance
1
Line Count
10
Source Line
300
Source File
src/NHibernate.Test/Legacy/FumTest.cs

                        while (enumerator.MoveNext())
                        {
                                fum = (Fum) enumerator.Current;
                                s.Delete(fum);
                                i++;
                        }

                        Assert.AreEqual(2, i, "Iterate on Composite Key");
                        //s.Flush();
                        t.Commit();


Clone Instance
2
Line Count
8
Source Line
415
Source File
src/NHibernate.Test/Legacy/FumTest.cs

                        while (enumer.MoveNext())
                        {
                                fum = (Fum) enumer.Current;
                                s.Delete(fum);
                                i++;
                        }
                        Assert.AreEqual(4, i, "iterate on composite key");
                        s.Flush();


Clone AbstractionParameter Count: 5Parameter Bindings

while ( [[#variable28abb540]].MoveNext())
{
   fum = (Fum) [[#variable28abb540]].Current;
   s.Delete(fum);
   i++;
}
Assert.AreEqual( [[#variable289cdfc0]], i, [[#variable289cdf80]]);
 [[#variable28abb4e0]]. [[#variable28abb4c0]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28abb540]]
enumerator 
12[[#28abb540]]
enumer 
21[[#289cdfc0]]
2 
22[[#289cdfc0]]
4 
31[[#289cdf80]]
"Iterate on Composite Key" 
32[[#289cdf80]]
"iterate on composite key" 
41[[#28abb4e0]]
//s.Flush();
t 
42[[#28abb4e0]]
s 
51[[#28abb4c0]]
Commit 
52[[#28abb4c0]]
Flush