Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 75 | src/NHibernate.Test/NHSpecificTest/NH440/Fixture.cs |
2 | 12 | 108 | src/NHibernate.Test/NHSpecificTest/NH440/Fixture.cs |
| ||||
Apple apple = new Apple(); Fruit fruit = new Fruit(); apple.TheFruit = fruit; fruit.TheApple = apple; using (ISession session = OpenSession()) using (ITransaction tx = session.BeginTransaction()) { session.Save(apple); session.Save(fruit); tx.Commit(); } |
| ||||
Apple apple = new Apple(); Fruit fruit = new Fruit(); apple.TheFruit = fruit; fruit.TheApple = apple; using (ISession session = OpenSession()) using (ITransaction tx = session.BeginTransaction()) { session.Save(apple); session.Save(fruit); tx.Commit(); } |
| |||
Apple apple = new Apple(); Fruit fruit = new Fruit(); apple.TheFruit = fruit; fruit.TheApple = apple; using (ISession session = OpenSession()) using (ITransaction tx = session.BeginTransaction()) { session.Save(apple); session.Save(fruit); tx.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |