Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 7 | 3 | 0.951 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 27 | src/NHibernate.Test/GenericTest/Overall/Fixture.cs |
2 | 5 | 34 | src/NHibernate.Test/GenericTest/Overall/Fixture.cs |
3 | 5 | 53 | src/NHibernate.Test/GenericTest/Overall/Fixture.cs |
4 | 5 | 60 | src/NHibernate.Test/GenericTest/Overall/Fixture.cs |
5 | 5 | 39 | src/NHibernate.Test/NHSpecificTest/NH958/NH958Fixture.cs |
6 | 5 | 71 | src/NHibernate.Test/NHSpecificTest/NH958/NH958Fixture.cs |
7 | 5 | 34 | src/NHibernate.Test/NHSpecificTest/NH962/NH962Fixture.cs |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Save(entity); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Delete(entity); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Save(entity); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Delete(entity); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Delete(person); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Delete(person); transaction.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction tx = session.BeginTransaction()) { session.Delete(child); tx.Commit(); } |
| |||
using (ISession session = OpenSession()) using (ITransaction [[#variable2a3aff20]]= session.BeginTransaction()) { session. [[#variable2a3affa0]]( [[#variable2a3aff80]]); [[#variable2a3aff20]].Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2a3aff20]] | tx |
1 | 2 | [[#2a3aff20]] | transaction |
1 | 3 | [[#2a3aff20]] | transaction |
1 | 4 | [[#2a3aff20]] | transaction |
1 | 5 | [[#2a3aff20]] | transaction |
1 | 6 | [[#2a3aff20]] | transaction |
1 | 7 | [[#2a3aff20]] | transaction |
2 | 1 | [[#2a3affa0]] | Delete |
2 | 2 | [[#2a3affa0]] | Delete |
2 | 3 | [[#2a3affa0]] | Save |
2 | 4 | [[#2a3affa0]] | Delete |
2 | 5 | [[#2a3affa0]] | Delete |
2 | 6 | [[#2a3affa0]] | Save |
2 | 7 | [[#2a3affa0]] | Delete |
3 | 1 | [[#2a3aff80]] | child |
3 | 2 | [[#2a3aff80]] | person |
3 | 3 | [[#2a3aff80]] | entity |
3 | 4 | [[#2a3aff80]] | entity |
3 | 5 | [[#2a3aff80]] | person |
3 | 6 | [[#2a3aff80]] | entity |
3 | 7 | [[#2a3aff80]] | entity |