Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 4 | 0.950 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 261 | src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs |
2 | 14 | 277 | src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs |
| ||||
[Test] public void FirstKey() { Assert.IsNotNull(_shm.FirstKey); Assert.AreEqual("test1", _shm.FirstKey); Assert.IsNull(_emptyShm.FirstKey); } [Test] public void FirstValue() { Assert.IsNotNull(_shm.FirstValue); Assert.AreEqual(1, _shm.FirstValue); Assert.IsNull(_emptyShm.FirstValue); } |
| ||||
[Test] public void LastKey() { Assert.IsNotNull(_shm.LastKey); Assert.AreEqual("test3", _shm.LastKey); Assert.IsNull(_emptyShm.LastKey); } [Test] public void LastValue() { Assert.IsNotNull(_shm.LastValue); Assert.AreEqual(true, _shm.LastValue); Assert.IsNull(_emptyShm.LastValue); } |
| |||
[Test] public void [[#variable51e57540]]() { Assert.IsNotNull(_shm. [[#variable51e57540]]); Assert.AreEqual( [[#variable51e57580]], _shm. [[#variable51e57540]]); Assert.IsNull(_emptyShm. [[#variable51e57540]]); } [Test] public void [[#variable51e57480]]() { Assert.IsNotNull(_shm. [[#variable51e57480]]); Assert.AreEqual( [[#variable51e57420]], _shm. [[#variable51e57480]]); Assert.IsNull(_emptyShm. [[#variable51e57480]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51e57540]] | LastKey |
1 | 2 | [[#51e57540]] | FirstKey |
2 | 1 | [[#51e57580]] | "test3" |
2 | 2 | [[#51e57580]] | "test1" |
3 | 1 | [[#51e57480]] | LastValue |
3 | 2 | [[#51e57480]] | FirstValue |
4 | 1 | [[#51e57420]] | true |
4 | 2 | [[#51e57420]] | 1 |