CloneSet738


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10330.978statement_list[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110181
src/NHibernate.Test/Operations/MergeFixture.cs
210421
src/NHibernate.Test/Operations/MergeFixture.cs
310455
src/NHibernate.Test/Operations/MergeFixture.cs
Clone Instance
1
Line Count
10
Source Line
181
Source File
src/NHibernate.Test/Operations/MergeFixture.cs

                        root.AddChild(child2);

                        s = OpenSession();
                        tx = s.BeginTransaction();
                        s.Merge(root);
                        tx.Commit();
                        s.Close();

                        AssertInsertCount(2);
                        AssertUpdateCount(0);


Clone Instance
2
Line Count
10
Source Line
421
Source File
src/NHibernate.Test/Operations/MergeFixture.cs

                        root.AddChild(secondChild);

                        s = OpenSession();
                        tx = s.BeginTransaction();
                        s.Merge(root);
                        tx.Commit();
                        s.Close();

                        AssertInsertCount(1);
                        AssertUpdateCount(2);


Clone Instance
3
Line Count
10
Source Line
455
Source File
src/NHibernate.Test/Operations/MergeFixture.cs

                        root.AddChild(secondChild);

                        s = OpenSession();
                        tx = s.BeginTransaction();
                        s.Merge(root);
                        tx.Commit();
                        s.Close();

                        AssertInsertCount(1);
                        AssertUpdateCount(2);


Clone AbstractionParameter Count: 3Parameter Bindings

root.AddChild( [[#variable5847a240]]);
s = OpenSession();
tx = s.BeginTransaction();
s.Merge(root);
tx.Commit();
s.Close();
AssertInsertCount( [[#variable501ee960]]);
AssertUpdateCount( [[#variable652a9da0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5847a240]]
secondChild 
12[[#5847a240]]
child2 
13[[#5847a240]]
secondChild 
21[[#501ee960]]
1 
22[[#501ee960]]
2 
23[[#501ee960]]
1 
31[[#652a9da0]]
2 
32[[#652a9da0]]
0 
33[[#652a9da0]]
2