Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.963 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 14 | src/NHibernate.Test/NHSpecificTest/NH1584/TestFixture.cs |
2 | 6 | 20 | src/NHibernate.Test/NHSpecificTest/NH1792/Fixture.cs |
3 | 6 | 27 | src/NHibernate.Test/NHSpecificTest/NH1922/Fixture.cs |
| ||||
using (ISession session = OpenSession()) { using (ITransaction trx = session.BeginTransaction()) { session.Delete("from Male"); trx.Commit(); } } |
| ||||
using (ISession session = OpenSession()) { using (ITransaction trans = session.BeginTransaction()) { session.Delete("from Product"); trans.Commit(); } } |
| ||||
using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { session.Delete("from Customer"); tx.Commit(); } } |
| |||
using (ISession session = OpenSession()) { using (ITransaction [[#variable29043920]]= session.BeginTransaction()) { session.Delete( [[#variable2939a8c0]]); [[#variable29043920]].Commit(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#29043920]] | tx |
1 | 2 | [[#29043920]] | trans |
1 | 3 | [[#29043920]] | trx |
2 | 1 | [[#2939a8c0]] | "from Customer" |
2 | 2 | [[#2939a8c0]] | "from Product" |
2 | 3 | [[#2939a8c0]] | "from Male" |