CloneSet1286


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.986statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110239
src/NHibernate.Test/Operations/MergeFixture.cs
210257
src/NHibernate.Test/Operations/MergeFixture.cs
Clone Instance
1
Line Count
10
Source Line
239
Source File
src/NHibernate.Test/Operations/MergeFixture.cs

                        using (ISession s = OpenSession())
                        {
                                ITransaction tx = s.BeginTransaction();
                                root = (NumberedNode) s.Merge(root);
                                tx.Commit();
                        }

                        AssertInsertCount(1);
                        AssertUpdateCount(1);
                        ClearCounts();


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

                        using (ISession s = OpenSession())
                        {
                                ITransaction tx = s.BeginTransaction();
                                root = (NumberedNode) s.Merge(root);
                                tx.Commit();
                        }

                        AssertInsertCount(2);
                        AssertUpdateCount(0);
                        ClearCounts();


Clone AbstractionParameter Count: 2Parameter Bindings

using (ISession s = OpenSession())
{
   ITransaction tx = s.BeginTransaction();
   root = (NumberedNode)s.Merge(root);
   tx.Commit();
}
AssertInsertCount( [[#variable5f490140]]);
AssertUpdateCount( [[#variable5f490120]]);
ClearCounts();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f490140]]
2 
12[[#5f490140]]
1 
21[[#5f490120]]
0 
22[[#5f490120]]
1