CloneSet92


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17540.973statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116307
src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.cs
217326
src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.cs
317328
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs
417348
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs
518368
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs
Clone Instance
1
Line Count
16
Source Line
307
Source File
src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.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();


Clone Instance
2
Line Count
17
Source Line
326
Source File
src/NHibernate.Test/UtilityTest/LinkedHashMapFixture.cs

                                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();


Clone Instance
3
Line Count
17
Source Line
328
Source File
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs

                                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();


Clone Instance
4
Line Count
17
Source Line
348
Source File
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs

                                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();


Clone Instance
5
Line Count
18
Source Line
368
Source File
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs

                                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();


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6ff263a0]]
linked 
12[[#6ff263a0]]
dictionary 
13[[#6ff263a0]]
list 
14[[#6ff263a0]]
sequenced 
15[[#6ff263a0]]
hashtable 
21[[#68462380]]
linkPopulateTicks 
22[[#68462380]]
dictPopulateTicks 
23[[#68462380]]
listPopulateTicks 
24[[#68462380]]
seqPopulateTicks 
25[[#68462380]]
hashPopulateTicks 
31[[#70b9f760]]
linkStart 
32[[#70b9f760]]
dictStart 
33[[#70b9f760]]
listStart 
34[[#70b9f760]]
seqStart 
35[[#70b9f760]]
hashStart 
41[[#70b9fc20]]
linkItemTicks 
42[[#70b9fc20]]
dictItemTicks 
43[[#70b9fc20]]
listItemTicks 
44[[#70b9fc20]]
seqItemTicks 
45[[#70b9fc20]]
hashItemTicks