CloneSet704


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.991statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1728
src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs
2762
src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs
Clone Instance
1
Line Count
7
Source Line
28
Source File
src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs

                        StringTokenizer st = new StringTokenizer(s, " ", true);
                        IEnumerator enumerator = st.GetEnumerator();
                        enumerator.MoveNext();
                        Assert.AreEqual("Hello", (string) enumerator.Current, "Can't get first token");
                        enumerator.MoveNext();
                        Assert.AreEqual(" ", (string) enumerator.Current, "Can't get first space");
                        enumerator.MoveNext();


Clone Instance
2
Line Count
7
Source Line
62
Source File
src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs

                        StringTokenizer st = new StringTokenizer(s, " .", true);
                        IEnumerator enumerator = st.GetEnumerator();
                        enumerator.MoveNext();
                        Assert.AreEqual("The", (string) enumerator.Current, "Can't get first token");
                        enumerator.MoveNext();
                        Assert.AreEqual(" ", (string) enumerator.Current, "Can't get first space");
                        enumerator.MoveNext();


Clone AbstractionParameter Count: 2Parameter Bindings

StringTokenizer st = new StringTokenizer(s, [[#variable678af300]], true);
IEnumerator enumerator = st.GetEnumerator();
enumerator.MoveNext();
Assert.AreEqual( [[#variable678af240]], (string)enumerator.Current, "Can't get first token");
enumerator.MoveNext();
Assert.AreEqual(" ", (string)enumerator.Current, "Can't get first space");
enumerator.MoveNext();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#678af300]]
" " 
12[[#678af300]]
" ." 
21[[#678af240]]
"Hello" 
22[[#678af240]]
"The"