Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 2 | 0.969 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 157 | src/NHibernate.Test/Stats/StatsFixture.cs |
2 | 3 | 165 | src/NHibernate.Test/Stats/StatsFixture.cs |
3 | 2 | 182 | src/NHibernate.Test/Stats/StatsFixture.cs |
4 | 2 | 199 | src/NHibernate.Test/Stats/StatsFixture.cs |
| ||||
Assert.AreEqual(1, continentStats.ExecutionCount, "unexpected execution count"); Assert.AreEqual(results, continentStats.ExecutionRowCount, "unexpected row count"); |
| ||||
// 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"); |
| ||||
// ...one for each split query Assert.AreEqual(2, localityStats.ExecutionCount, "unexpected execution count"); Assert.AreEqual(results, localityStats.ExecutionRowCount, "unexpected row count"); |
| ||||
Assert.AreEqual(1, sqlStats.ExecutionCount, "unexpected execution count"); Assert.AreEqual(results, sqlStats.ExecutionRowCount, "unexpected row count"); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2852f2e0]] | 1 |
1 | 2 | [[#2852f2e0]] | 2 |
1 | 3 | [[#2852f2e0]] | 2 |
1 | 4 | [[#2852f2e0]] | 1 |
2 | 1 | [[#2852f120]] | continentStats |
2 | 2 | [[#2852f120]] | continentStats |
2 | 3 | [[#2852f120]] | localityStats |
2 | 4 | [[#2852f120]] | sqlStats |