Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 5 | 4 | 0.973 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 307 | src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.cs |
2 | 17 | 326 | src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.cs |
3 | 17 | 328 | src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs |
4 | 17 | 348 | src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs |
5 | 18 | 368 | src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs |
| ||||
for (int i = 0; i < numOfEntries; i++) { dictionary.Add("test" + i, new object()); } dictPopulateTicks[runIndex] = DateTime.Now.Ticks - dictStart; dictStart = DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = dictionary[key]; } dictItemTicks[runIndex] = DateTime.Now.Ticks - dictStart; dictionary.Clear(); |
| ||||
for (int i = 0; i < numOfEntries; i++) { linked.Add("test" + i, new object()); } linkPopulateTicks[runIndex] = DateTime.Now.Ticks - linkStart; linkStart = DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = linked[key]; } linkItemTicks[runIndex] = DateTime.Now.Ticks - linkStart; linked.Clear(); |
| ||||
for (int i = 0; i < numOfEntries; i++) { hashtable.Add("test" + i, new object()); } hashPopulateTicks[runIndex] = DateTime.Now.Ticks - hashStart; hashStart = DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = hashtable[key]; } hashItemTicks[runIndex] = DateTime.Now.Ticks - hashStart; hashtable.Clear(); |
| ||||
for (int i = 0; i < numOfEntries; i++) { sequenced.Add("test" + i, new object()); } seqPopulateTicks[runIndex] = DateTime.Now.Ticks - seqStart; seqStart = DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = sequenced[key]; } seqItemTicks[runIndex] = DateTime.Now.Ticks - seqStart; sequenced.Clear(); |
| ||||
for (int i = 0; i < numOfEntries; i++) { list.Add("test" + i, new object()); } listPopulateTicks[runIndex] = DateTime.Now.Ticks - listStart; listStart = DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = list[key]; } listItemTicks[runIndex] = DateTime.Now.Ticks - listStart; list.Clear(); |
| |||
for (int i = 0; i < numOfEntries; i++) { [[#variable6ff263a0]].Add("test" + i, new object()); } [[#variable68462380]][runIndex] = DateTime.Now.Ticks - [[#variable70b9f760]]; [[#variable70b9f760]]= DateTime.Now.Ticks; for (int i = 0; i < numOfEntries; i++) { key = "test" + i; value = [[#variable6ff263a0]][key]; } [[#variable70b9fc20]][runIndex] = DateTime.Now.Ticks - [[#variable70b9f760]]; [[#variable6ff263a0]].Clear(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6ff263a0]] | linked |
1 | 2 | [[#6ff263a0]] | dictionary |
1 | 3 | [[#6ff263a0]] | list |
1 | 4 | [[#6ff263a0]] | sequenced |
1 | 5 | [[#6ff263a0]] | hashtable |
2 | 1 | [[#68462380]] | linkPopulateTicks |
2 | 2 | [[#68462380]] | dictPopulateTicks |
2 | 3 | [[#68462380]] | listPopulateTicks |
2 | 4 | [[#68462380]] | seqPopulateTicks |
2 | 5 | [[#68462380]] | hashPopulateTicks |
3 | 1 | [[#70b9f760]] | linkStart |
3 | 2 | [[#70b9f760]] | dictStart |
3 | 3 | [[#70b9f760]] | listStart |
3 | 4 | [[#70b9f760]] | seqStart |
3 | 5 | [[#70b9f760]] | hashStart |
4 | 1 | [[#70b9fc20]] | linkItemTicks |
4 | 2 | [[#70b9fc20]] | dictItemTicks |
4 | 3 | [[#70b9fc20]] | listItemTicks |
4 | 4 | [[#70b9fc20]] | seqItemTicks |
4 | 5 | [[#70b9fc20]] | hashItemTicks |