Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 5 | 2 | 0.980 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 20 | src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs |
2 | 2 | 35 | src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs |
3 | 2 | 54 | src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs |
4 | 2 | 89 | src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs |
5 | 2 | 117 | src/NHibernate.Test/UtilityTest/StringTokenizerFixture.cs |
| ||||
Assert.AreEqual("world!", (string) enumerator.Current, "Can't get second token"); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
| ||||
Assert.AreEqual("world!", (string) enumerator.Current, "Can't get second token"); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
| ||||
Assert.AreEqual("know", (string) enumerator.Current, "Can't get fifth token"); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
| ||||
Assert.AreEqual(" ", (string) enumerator.Current, "Can't get last space"); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
| ||||
Assert.AreEqual(",", (string) enumerator.Current, "Can't get fifth delimiter"); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
| |||
Assert.AreEqual( [[#variable6d427400]], (string)enumerator.Current, [[#variable6ff4b2c0]]); Assert.AreEqual(false, enumerator.MoveNext(), "Still thinking there are more tokens"); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6d427400]] | "world!" |
1 | 2 | [[#6d427400]] | "," |
1 | 3 | [[#6d427400]] | " " |
1 | 4 | [[#6d427400]] | "know" |
1 | 5 | [[#6d427400]] | "world!" |
2 | 1 | [[#6ff4b2c0]] | "Can't get second token" |
2 | 2 | [[#6ff4b2c0]] | "Can't get fifth delimiter" |
2 | 3 | [[#6ff4b2c0]] | "Can't get last space" |
2 | 4 | [[#6ff4b2c0]] | "Can't get fifth token" |
2 | 5 | [[#6ff4b2c0]] | "Can't get second token" |