CloneSet127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
51530.953non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1566
src/NHibernate.Test/Classic/LifecycleFixture.cs
25103
src/NHibernate.Test/Classic/LifecycleFixture.cs
35126
src/NHibernate.Test/Classic/LifecycleFixture.cs
4577
src/NHibernate.Test/DriverTest/SqlClientDriverFixture.cs
55341
src/NHibernate.Test/Legacy/MasterDetailTest.cs
65348
src/NHibernate.Test/Legacy/MasterDetailTest.cs
7533
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs
8564
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs
9533
src/NHibernate.Test/NHSpecificTest/NH1092/Fixture.cs
105100
src/NHibernate.Test/NHSpecificTest/NH1776/FilterQueryTwiceFixture.cs
11529
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
12557
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
13532
src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs
14558
src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs
15548
src/NHibernate.Test/TypeParameters/DefinedTypeForIdFixture.cs
Clone Instance
1
Line Count
5
Source Line
66
Source File
src/NHibernate.Test/Classic/LifecycleFixture.cs

                        // cleanup
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate();
                                tx.Commit();
                        }


Clone Instance
2
Line Count
5
Source Line
103
Source File
src/NHibernate.Test/Classic/LifecycleFixture.cs

                        // cleanup
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate();
                                tx.Commit();
                        }


Clone Instance
3
Line Count
5
Source Line
126
Source File
src/NHibernate.Test/Classic/LifecycleFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityWithLifecycle").ExecuteUpdate();
                                tx.Commit();
                        }


Clone Instance
4
Line Count
5
Source Line
77
Source File
src/NHibernate.Test/DriverTest/SqlClientDriverFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from MultiTypeEntity").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
5
Line Count
5
Source Line
341
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("from s in class Several").List();
                                t.Commit();
                        }


Clone Instance
6
Line Count
5
Source Line
348
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("from s in class Single").List();
                                t.Commit();
                        }


Clone Instance
7
Line Count
5
Source Line
33
Source File
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from LazyE").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
8
Line Count
5
Source Line
64
Source File
src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from LazyE").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
9
Line Count
5
Source Line
33
Source File
src/NHibernate.Test/NHSpecificTest/NH1092/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from SubscriberAbstract").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
10
Line Count
5
Source Line
100
Source File
src/NHibernate.Test/NHSpecificTest/NH1776/FilterQueryTwiceFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from Category").ExecuteUpdate();
                                tx.Commit();
                        }


Clone Instance
11
Line Count
5
Source Line
29
Source File
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from Entity").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
12
Line Count
5
Source Line
57
Source File
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from Entity").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
13
Line Count
5
Source Line
32
Source File
src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityWithUnique").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
14
Line Count
5
Source Line
58
Source File
src/NHibernate.Test/NHSpecificTest/NH1813/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityWithUnique").ExecuteUpdate();
                                t.Commit();
                        }


Clone Instance
15
Line Count
5
Source Line
48
Source File
src/NHibernate.Test/TypeParameters/DefinedTypeForIdFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.CreateQuery("delete from EntityCustomId").ExecuteUpdate();
                                t.Commit();
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

// cleanup
using (ISession s = OpenSession())
   using (ITransaction [[#variable70af83e0]]= s.BeginTransaction())
   {
      s.CreateQuery( [[#variable70af8360]]). [[#variable70af8300]]();
       [[#variable70af83e0]].Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70af83e0]]
tx 
12[[#70af83e0]]
t 
13[[#70af83e0]]
t 
14[[#70af83e0]]
t 
15[[#70af83e0]]
t 
16[[#70af83e0]]
t 
17[[#70af83e0]]
tx 
18[[#70af83e0]]
t 
19[[#70af83e0]]
t 
110[[#70af83e0]]
t 
111[[#70af83e0]]
t 
112[[#70af83e0]]
t 
113[[#70af83e0]]
tx 
114[[#70af83e0]]
t 
115[[#70af83e0]]
tx 
21[[#70af8360]]
"delete from EntityWithLifecycle" 
22[[#70af8360]]
"delete from MultiTypeEntity" 
23[[#70af8360]]
"from s in class Single" 
24[[#70af8360]]
"from s in class Several" 
25[[#70af8360]]
"delete from LazyE" 
26[[#70af8360]]
"delete from SubscriberAbstract" 
27[[#70af8360]]
"delete from Category" 
28[[#70af8360]]
"delete from Entity" 
29[[#70af8360]]
"delete from EntityWithUnique" 
210[[#70af8360]]
"delete from EntityCustomId" 
211[[#70af8360]]
"delete from LazyE" 
212[[#70af8360]]
"delete from Entity" 
213[[#70af8360]]
"delete from EntityWithLifecycle" 
214[[#70af8360]]
"delete from EntityWithUnique" 
215[[#70af8360]]
"delete from EntityWithLifecycle" 
31[[#70af8300]]
ExecuteUpdate 
32[[#70af8300]]
ExecuteUpdate 
33[[#70af8300]]
List 
34[[#70af8300]]
List 
35[[#70af8300]]
ExecuteUpdate 
36[[#70af8300]]
ExecuteUpdate 
37[[#70af8300]]
ExecuteUpdate 
38[[#70af8300]]
ExecuteUpdate 
39[[#70af8300]]
ExecuteUpdate 
310[[#70af8300]]
ExecuteUpdate 
311[[#70af8300]]
ExecuteUpdate 
312[[#70af8300]]
ExecuteUpdate 
313[[#70af8300]]
ExecuteUpdate 
314[[#70af8300]]
ExecuteUpdate 
315[[#70af8300]]
ExecuteUpdate