Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.952 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 300 | src/NHibernate.Test/Legacy/FumTest.cs |
2 | 8 | 415 | src/NHibernate.Test/Legacy/FumTest.cs |
| ||||
while (enumerator.MoveNext()) { fum = (Fum) enumerator.Current; s.Delete(fum); i++; } Assert.AreEqual(2, i, "Iterate on Composite Key"); //s.Flush(); t.Commit(); |
| ||||
while (enumer.MoveNext()) { fum = (Fum) enumer.Current; s.Delete(fum); i++; } Assert.AreEqual(4, i, "iterate on composite key"); s.Flush(); |
| |||
while ( [[#variable28abb540]].MoveNext()) { fum = (Fum) [[#variable28abb540]].Current; s.Delete(fum); i++; } Assert.AreEqual( [[#variable289cdfc0]], i, [[#variable289cdf80]]); [[#variable28abb4e0]]. [[#variable28abb4c0]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28abb540]] | enumerator |
1 | 2 | [[#28abb540]] | enumer |
2 | 1 | [[#289cdfc0]] | 2 |
2 | 2 | [[#289cdfc0]] | 4 |
3 | 1 | [[#289cdf80]] | "Iterate on Composite Key" |
3 | 2 | [[#289cdf80]] | "iterate on composite key" |
4 | 1 | [[#28abb4e0]] | //s.Flush(); t |
4 | 2 | [[#28abb4e0]] | s |
5 | 1 | [[#28abb4c0]] | Commit |
5 | 2 | [[#28abb4c0]] | Flush |