Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 5 | 5 | 0.989 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 29 | src/NHibernate.Test/NHSpecificTest/NH1280/NH1280Fixture.cs |
2 | 17 | 30 | src/NHibernate.Test/NHSpecificTest/NH1291AnonExample/NH1291AnonExampleFixture.cs |
3 | 17 | 24 | src/NHibernate.Test/NHSpecificTest/NH1393/Fixture.cs |
4 | 17 | 25 | src/NHibernate.Test/NHSpecificTest/NH1502/Fixture.cs |
5 | 17 | 24 | src/NHibernate.Test/NHSpecificTest/NH1533/Fixture.cs |
| ||||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", 20, 8); Person e3 = new Person("Tim", 20, 7); //20 Person e4 = new Person("Fred", 40, 40); Person e5 = new Person("Fred", 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
| ||||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", 20, 8); Person e3 = new Person("Tim", 20, 7); //20 Person e4 = new Person("Fred", 40, 40); Person e5 = new Person("Fred", 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
| ||||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", 100, 8); Person e3 = new Person("Tim", 20, 7); //20 Person e4 = new Person("Fred", 40, 40); Person e5 = new Person("Mike", 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
| ||||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", 100, 8); Person e3 = new Person("Tim", 20, 7); //20 Person e4 = new Person("Fred", 40, 40); Person e5 = new Person("Mike", 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
| ||||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", 10, 8); Person e3 = new Person("Tim", 20, 40); //20 Person e4 = new Person("Fred", 20, 7); Person e5 = new Person("Mike", 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
| |||
protected override void OnSetUp() { using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { Person e1 = new Person("Joe", 10, 9); Person e2 = new Person("Sally", [[#variable6f229440]], 8); Person e3 = new Person("Tim", 20, [[#variable6f2294e0]]); //20 Person e4 = new Person("Fred", [[#variable6f229460]], [[#variable6f2293a0]]); Person e5 = new Person( [[#variable6f229380]], 50, 50); s.Save(e1); s.Save(e2); s.Save(e3); s.Save(e4); s.Save(e5); tx.Commit(); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f229440]] | 20 |
1 | 2 | [[#6f229440]] | 100 |
1 | 3 | [[#6f229440]] | 10 |
1 | 4 | [[#6f229440]] | 100 |
1 | 5 | [[#6f229440]] | 20 |
2 | 1 | [[#6f2294e0]] | 7 |
2 | 2 | [[#6f2294e0]] | 7 |
2 | 3 | [[#6f2294e0]] | 40 |
2 | 4 | [[#6f2294e0]] | 7 |
2 | 5 | [[#6f2294e0]] | 7 |
3 | 1 | [[#6f229460]] | 40 |
3 | 2 | [[#6f229460]] | 40 |
3 | 3 | [[#6f229460]] | 20 |
3 | 4 | [[#6f229460]] | 40 |
3 | 5 | [[#6f229460]] | 40 |
4 | 1 | [[#6f2293a0]] | 40 |
4 | 2 | [[#6f2293a0]] | 40 |
4 | 3 | [[#6f2293a0]] | 7 |
4 | 4 | [[#6f2293a0]] | 40 |
4 | 5 | [[#6f2293a0]] | 40 |
5 | 1 | [[#6f229380]] | "Fred" |
5 | 2 | [[#6f229380]] | "Mike" |
5 | 3 | [[#6f229380]] | "Mike" |
5 | 4 | [[#6f229380]] | "Mike" |
5 | 5 | [[#6f229380]] | "Fred" |