CloneSet591


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14240.950class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11430
src/Iesi.Collections.Test/Generic/SortedSetFixture.cs
21429
src/Iesi.Collections.Test/SortedSetFixture.cs
Clone Instance
1
Line Count
14
Source Line
30
Source File
src/Iesi.Collections.Test/Generic/SortedSetFixture.cs

                [Test]
                public void OrderedEnumeration()
                {
                        List<string> expectedOrder = new List<string> (3);
                        expectedOrder.Add(one);
                        expectedOrder.Add(two);
                        expectedOrder.Add(three);
                        expectedOrder.Sort();

                        int index = 0;
                        foreach (string str in _set)
                        {
                                Assert.AreEqual(str, expectedOrder[index], index.ToString() + " did not have same value");
                                index++;
                        }
                }



Clone Instance
2
Line Count
14
Source Line
29
Source File
src/Iesi.Collections.Test/SortedSetFixture.cs

                [Test]
                public void OrderedEnumeration()
                {
                        ArrayList expectedOrder = new ArrayList(3);
                        expectedOrder.Add(one);
                        expectedOrder.Add(two);
                        expectedOrder.Add(three);
                        expectedOrder.Sort();

                        int index = 0;
                        foreach (object obj in _set)
                        {
                                Assert.AreEqual(obj, expectedOrder[index], index.ToString() + " did not have same value");
                                index++;
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

[Test]
public void OrderedEnumeration()
{
    [[#variable700b9960]]expectedOrder = new [[#variable700b98e0]](3);
   expectedOrder.Add(one);
   expectedOrder.Add(two);
   expectedOrder.Add(three);
   expectedOrder.Sort();
   int index = 0;
   foreach ( [[#variable700b9860]] [[#variable700b97e0]]in _set)
   {
      Assert.AreEqual( [[#variable700b97e0]], expectedOrder[index], index.ToString() + " did not have same value");
      index++;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#700b9960]]
ArrayList 
12[[#700b9960]]
List<string> 
21[[#700b98e0]]
ArrayList 
22[[#700b98e0]]
List<string> 
31[[#700b9860]]
object 
32[[#700b9860]]
string 
41[[#700b97e0]]
obj 
42[[#700b97e0]]
str