Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 2 | 0.989 | statement_list[15] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 33 | src/NHibernate.Test/Subclass/SubclassFixture.cs |
2 | 21 | 124 | src/NHibernate.Test/Subclass/SubclassFixture.cs |
| ||||
int oneId; int baseId; SubclassOne one1 = new SubclassOne(); one1.TestDateTime = new DateTime(2003, 10, 17); one1.TestString = "the test one string"; one1.TestLong = 6; one1.OneTestLong = 1; oneId = (int) s1.Save(one1); SubclassBase base1 = new SubclassBase(); base1.TestDateTime = new DateTime(2003, 10, 17); base1.TestString = "the test string"; base1.TestLong = 5; baseId = (int) s1.Save(base1); t1.Commit(); s1.Close(); |
| ||||
int oneId; int baseId; SubclassOne one1 = new SubclassOne(); one1.TestDateTime = new DateTime(2003, 10, 17); one1.TestString = "the test one string"; one1.TestLong = 6; one1.OneTestLong = 1; oneId = (int) s.Save(one1); SubclassBase base1 = new SubclassBase(); base1.TestDateTime = new DateTime(2003, 10, 17); base1.TestString = "the test string"; base1.TestLong = 5; baseId = (int) s.Save(base1); t.Commit(); s.Close(); |
| |||
int oneId; int baseId; SubclassOne one1 = new SubclassOne(); one1.TestDateTime = new DateTime(2003, 10, 17); one1.TestString = "the test one string"; one1.TestLong = 6; one1.OneTestLong = 1; oneId = (int) [[#variable5eb2eac0]].Save(one1); SubclassBase base1 = new SubclassBase(); base1.TestDateTime = new DateTime(2003, 10, 17); base1.TestString = "the test string"; base1.TestLong = 5; baseId = (int) [[#variable5eb2eac0]].Save(base1); [[#variable5eb2ea60]].Commit(); [[#variable5eb2eac0]].Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb2eac0]] | s |
1 | 2 | [[#5eb2eac0]] | s1 |
2 | 1 | [[#5eb2ea60]] | t |
2 | 2 | [[#5eb2ea60]] | t1 |