Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 15 | 3 | 0.953 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 66 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
2 | 5 | 103 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
3 | 5 | 126 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
4 | 5 | 77 | src/NHibernate.Test/DriverTest/SqlClientDriverFixture.cs |
5 | 5 | 341 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
6 | 5 | 348 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
7 | 5 | 33 | src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs |
8 | 5 | 64 | src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs |
9 | 5 | 33 | src/NHibernate.Test/NHSpecificTest/NH1092/Fixture.cs |
10 | 5 | 100 | src/NHibernate.Test/NHSpecificTest/NH1776/FilterQueryTwiceFixture.cs |
11 | 5 | 29 | src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs |
12 | 5 | 57 | src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs |
13 | 5 | 32 | src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs |
14 | 5 | 58 | src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs |
15 | 5 | 48 | src/NHibernate.Test/TypeParameters/DefinedTypeForIdFixture.cs |
| ||||
// cleanup using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate(); tx.Commit(); } |
| ||||
// cleanup using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate(); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate(); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from MultiTypeEntity").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("from s in class Several").List(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("from s in class Single").List(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from LazyE").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from LazyE").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from SubscriberAbstract").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.CreateQuery("delete from Category").ExecuteUpdate(); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from Entity").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from Entity").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from EntityWithUnique").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from EntityWithUnique").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from EntityCustomId").ExecuteUpdate(); t.Commit(); } |
| |||
// cleanup using (ISession s = OpenSession()) using (ITransaction [[#variable70af83e0]]= s.BeginTransaction()) { s.CreateQuery( [[#variable70af8360]]). [[#variable70af8300]](); [[#variable70af83e0]].Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70af83e0]] | tx |
1 | 2 | [[#70af83e0]] | t |
1 | 3 | [[#70af83e0]] | t |
1 | 4 | [[#70af83e0]] | t |
1 | 5 | [[#70af83e0]] | t |
1 | 6 | [[#70af83e0]] | t |
1 | 7 | [[#70af83e0]] | tx |
1 | 8 | [[#70af83e0]] | t |
1 | 9 | [[#70af83e0]] | t |
1 | 10 | [[#70af83e0]] | t |
1 | 11 | [[#70af83e0]] | t |
1 | 12 | [[#70af83e0]] | t |
1 | 13 | [[#70af83e0]] | tx |
1 | 14 | [[#70af83e0]] | t |
1 | 15 | [[#70af83e0]] | tx |
2 | 1 | [[#70af8360]] | "delete from EntityWithLifecycle" |
2 | 2 | [[#70af8360]] | "delete from MultiTypeEntity" |
2 | 3 | [[#70af8360]] | "from s in class Single" |
2 | 4 | [[#70af8360]] | "from s in class Several" |
2 | 5 | [[#70af8360]] | "delete from LazyE" |
2 | 6 | [[#70af8360]] | "delete from SubscriberAbstract" |
2 | 7 | [[#70af8360]] | "delete from Category" |
2 | 8 | [[#70af8360]] | "delete from Entity" |
2 | 9 | [[#70af8360]] | "delete from EntityWithUnique" |
2 | 10 | [[#70af8360]] | "delete from EntityCustomId" |
2 | 11 | [[#70af8360]] | "delete from LazyE" |
2 | 12 | [[#70af8360]] | "delete from Entity" |
2 | 13 | [[#70af8360]] | "delete from EntityWithLifecycle" |
2 | 14 | [[#70af8360]] | "delete from EntityWithUnique" |
2 | 15 | [[#70af8360]] | "delete from EntityWithLifecycle" |
3 | 1 | [[#70af8300]] | ExecuteUpdate |
3 | 2 | [[#70af8300]] | ExecuteUpdate |
3 | 3 | [[#70af8300]] | List |
3 | 4 | [[#70af8300]] | List |
3 | 5 | [[#70af8300]] | ExecuteUpdate |
3 | 6 | [[#70af8300]] | ExecuteUpdate |
3 | 7 | [[#70af8300]] | ExecuteUpdate |
3 | 8 | [[#70af8300]] | ExecuteUpdate |
3 | 9 | [[#70af8300]] | ExecuteUpdate |
3 | 10 | [[#70af8300]] | ExecuteUpdate |
3 | 11 | [[#70af8300]] | ExecuteUpdate |
3 | 12 | [[#70af8300]] | ExecuteUpdate |
3 | 13 | [[#70af8300]] | ExecuteUpdate |
3 | 14 | [[#70af8300]] | ExecuteUpdate |
3 | 15 | [[#70af8300]] | ExecuteUpdate |