CloneSet802


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2420.969statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12157
src/NHibernate.Test/Stats/StatsFixture.cs
23165
src/NHibernate.Test/Stats/StatsFixture.cs
32182
src/NHibernate.Test/Stats/StatsFixture.cs
42199
src/NHibernate.Test/Stats/StatsFixture.cs
Clone Instance
1
Line Count
2
Source Line
157
Source File
src/NHibernate.Test/Stats/StatsFixture.cs

                        Assert.AreEqual(1, continentStats.ExecutionCount, "unexpected execution count");
                        Assert.AreEqual(results, continentStats.ExecutionRowCount, "unexpected row count");


Clone Instance
2
Line Count
3
Source Line
165
Source File
src/NHibernate.Test/Stats/StatsFixture.cs

                        // Enumerable() should increment the execution count
                        Assert.AreEqual(2, continentStats.ExecutionCount, "unexpected execution count");
                        // but should not effect the cumulative row count
                        Assert.AreEqual(results, continentStats.ExecutionRowCount, "unexpected row count");


Clone Instance
3
Line Count
2
Source Line
182
Source File
src/NHibernate.Test/Stats/StatsFixture.cs

                        // ...one for each split query
                        Assert.AreEqual(2, localityStats.ExecutionCount, "unexpected execution count");
                        Assert.AreEqual(results, localityStats.ExecutionRowCount, "unexpected row count");


Clone Instance
4
Line Count
2
Source Line
199
Source File
src/NHibernate.Test/Stats/StatsFixture.cs

                        Assert.AreEqual(1, sqlStats.ExecutionCount, "unexpected execution count");
                        Assert.AreEqual(results, sqlStats.ExecutionRowCount, "unexpected row count");


Clone AbstractionParameter Count: 2Parameter Bindings

// Enumerable() should increment the execution count
// ...one for each split query
Assert.AreEqual( [[#variable2852f2e0]], [[#variable2852f120]].ExecutionCount, "unexpected execution count");
// but should not effect the cumulative row count
Assert.AreEqual(results, [[#variable2852f120]].ExecutionRowCount, "unexpected row count");
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2852f2e0]]
1 
12[[#2852f2e0]]
2 
13[[#2852f2e0]]
2 
14[[#2852f2e0]]
1 
21[[#2852f120]]
continentStats 
22[[#2852f120]]
continentStats 
23[[#2852f120]]
localityStats 
24[[#2852f120]]
sqlStats