CloneSet1698


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.958statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1452
src/NHibernate.Test/Ondelete/JoinedSubclassFixture.cs
2268
src/NHibernate.Test/Ondelete/OnDeleteFixture.cs
3257
src/NHibernate.Test/Ondelete/ParentChildFixture.cs
Clone Instance
1
Line Count
4
Source Line
52
Source File
src/NHibernate.Test/Ondelete/JoinedSubclassFixture.cs

                        Assert.AreEqual(2, statistics.EntityDeleteCount);

                        // In this case the batcher reuse the same command because have same SQL and same parametersTypes
                        Assert.AreEqual(1, statistics.PrepareStatementCount);


Clone Instance
2
Line Count
2
Source Line
68
Source File
src/NHibernate.Test/Ondelete/OnDeleteFixture.cs

                        Assert.AreEqual(2, statistics.EntityDeleteCount);
                        Assert.AreEqual(1, statistics.PrepareStatementCount);


Clone Instance
3
Line Count
2
Source Line
57
Source File
src/NHibernate.Test/Ondelete/ParentChildFixture.cs

                        Assert.AreEqual(2, statistics.PrepareStatementCount);
                        Assert.AreEqual(6, statistics.EntityDeleteCount);


Clone AbstractionParameter Count: 3Parameter Bindings

Assert.AreEqual(2, statistics. [[#variable295380a0]]);
// In this case the batcher reuse the same command because have same SQL and same parametersTypes
Assert.AreEqual( [[#variable2fbe5fe0]], statistics. [[#variable2fbe5fc0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#295380a0]]
EntityDeleteCount 
12[[#295380a0]]
PrepareStatementCount 
13[[#295380a0]]
EntityDeleteCount 
21[[#2fbe5fe0]]
1 
22[[#2fbe5fe0]]
6 
23[[#2fbe5fe0]]
1 
31[[#2fbe5fc0]]
PrepareStatementCount 
32[[#2fbe5fc0]]
EntityDeleteCount 
33[[#2fbe5fc0]]
PrepareStatementCount