Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.958 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 52 | src/NHibernate.Test/Ondelete/JoinedSubclassFixture.cs |
2 | 2 | 68 | src/NHibernate.Test/Ondelete/OnDeleteFixture.cs |
3 | 2 | 57 | src/NHibernate.Test/Ondelete/ParentChildFixture.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); |
| ||||
Assert.AreEqual(2, statistics.EntityDeleteCount); Assert.AreEqual(1, statistics.PrepareStatementCount); |
| ||||
Assert.AreEqual(2, statistics.PrepareStatementCount); Assert.AreEqual(6, statistics.EntityDeleteCount); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#295380a0]] | EntityDeleteCount |
1 | 2 | [[#295380a0]] | PrepareStatementCount |
1 | 3 | [[#295380a0]] | EntityDeleteCount |
2 | 1 | [[#2fbe5fe0]] | 1 |
2 | 2 | [[#2fbe5fe0]] | 6 |
2 | 3 | [[#2fbe5fe0]] | 1 |
3 | 1 | [[#2fbe5fc0]] | PrepareStatementCount |
3 | 2 | [[#2fbe5fc0]] | EntityDeleteCount |
3 | 3 | [[#2fbe5fc0]] | PrepareStatementCount |