Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 4 | 0.955 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 42 | src/NHibernate.Test/Operations/AbstractOperationTestCase.cs |
2 | 3 | 47 | src/NHibernate.Test/Operations/AbstractOperationTestCase.cs |
3 | 3 | 52 | src/NHibernate.Test/Operations/AbstractOperationTestCase.cs |
| ||||
protected void AssertInsertCount(long expected) { Assert.That(sessions.Statistics.EntityInsertCount, Is.EqualTo(expected), "unexpected insert count"); } |
| ||||
protected void AssertUpdateCount(int expected) { Assert.That(sessions.Statistics.EntityUpdateCount, Is.EqualTo(expected), "unexpected update count"); } |
| ||||
protected void AssertDeleteCount(int expected) { Assert.That(sessions.Statistics.EntityDeleteCount, Is.EqualTo(expected), "unexpected delete count"); } |
| |||
protected void [[#variable472d4960]]( [[#variable472d3c60]]expected) { Assert.That(sessions.Statistics. [[#variable472d47c0]], Is.EqualTo(expected), [[#variable472d47a0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#472d4960]] | AssertInsertCount |
1 | 2 | [[#472d4960]] | AssertUpdateCount |
1 | 3 | [[#472d4960]] | AssertDeleteCount |
2 | 1 | [[#472d3c60]] | long |
2 | 2 | [[#472d3c60]] | int |
2 | 3 | [[#472d3c60]] | int |
3 | 1 | [[#472d47c0]] | EntityInsertCount |
3 | 2 | [[#472d47c0]] | EntityUpdateCount |
3 | 3 | [[#472d47c0]] | EntityDeleteCount |
4 | 1 | [[#472d47a0]] | "unexpected insert count" |
4 | 2 | [[#472d47a0]] | "unexpected update count" |
4 | 3 | [[#472d47a0]] | "unexpected delete count" |