Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 5 | 0.962 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 78 | src/NHibernate.Test/NHSpecificTest/NH1549/Fixture.cs |
2 | 11 | 52 | src/NHibernate.Test/NHSpecificTest/NH1556/Fixture.cs |
| ||||
protected override void OnTearDown() { using (ISession session = OpenSession()) { using (ITransaction trans = session.BeginTransaction()) { session.Delete("from ProductWithId"); session.Delete("from CategoryWithId"); session.Delete("from ProductWithInheritedId"); session.Delete("from CategoryWithInheritedId"); trans.Commit(); } } } |
| ||||
protected override void OnTearDown() { using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { session.Delete("from Claim"); session.Delete("from Patient"); session.Delete("from ProductIdentifier"); session.Delete("from Product"); tx.Commit(); } } } |
| |||
protected override void OnTearDown() { using (ISession session = OpenSession()) { using (ITransaction [[#variable298831c0]]= session.BeginTransaction()) { session.Delete( [[#variable29883100]]); session.Delete( [[#variable29882f60]]); session.Delete( [[#variable29882580]]); session.Delete( [[#variable29882fa0]]); [[#variable298831c0]].Commit(); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#298831c0]] | trans |
1 | 2 | [[#298831c0]] | tx |
2 | 1 | [[#29883100]] | "from ProductWithId" |
2 | 2 | [[#29883100]] | "from Claim" |
3 | 1 | [[#29882f60]] | "from CategoryWithId" |
3 | 2 | [[#29882f60]] | "from Patient" |
4 | 1 | [[#29882580]] | "from ProductWithInheritedId" |
4 | 2 | [[#29882580]] | "from ProductIdentifier" |
5 | 1 | [[#29882fa0]] | "from CategoryWithInheritedId" |
5 | 2 | [[#29882fa0]] | "from Product" |