CloneSet35


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
53630.951non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15197
src/NHibernate.Test/GenericTest/MapGeneric/MapGenericFixture.cs
25320
src/NHibernate.Test/Legacy/MasterDetailTest.cs
3555
src/NHibernate.Test/MultipleCollectionFetchTest/AbstractMultipleCollectionFetchFixture.cs
4547
src/NHibernate.Test/NHSpecificTest/Dates/FixtureBase.cs
5576
src/NHibernate.Test/NHSpecificTest/FileStreamSql2008/Fixture.cs
6594
src/NHibernate.Test/NHSpecificTest/FileStreamSql2008/Fixture.cs
7518
src/NHibernate.Test/NHSpecificTest/NH1025/Fixture.cs
8515
src/NHibernate.Test/NHSpecificTest/NH1044/Fixture.cs
9531
src/NHibernate.Test/NHSpecificTest/NH1313/Fixture.cs
10630
src/NHibernate.Test/NHSpecificTest/NH1332/Fixture.cs
11539
src/NHibernate.Test/NHSpecificTest/NH1332/Fixture.cs
12537
src/NHibernate.Test/NHSpecificTest/NH1619/Fixture.cs
13524
src/NHibernate.Test/NHSpecificTest/NH1715/Fixture.cs
14542
src/NHibernate.Test/NHSpecificTest/NH1715/Fixture.cs
15542
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs
16560
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs
17578
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs
18524
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs
19548
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs
20513
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
21522
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
22541
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
23550
src/NHibernate.Test/NHSpecificTest/NH1796/Fixture.cs
24523
src/NHibernate.Test/NHSpecificTest/NH479/Fixture.cs
25526
src/NHibernate.Test/NHSpecificTest/NH496/Fixture.cs
26544
src/NHibernate.Test/NHSpecificTest/NH496/Fixture.cs
27520
src/NHibernate.Test/NHSpecificTest/NH523/Fixture.cs
28527
src/NHibernate.Test/NHSpecificTest/NH523/Fixture.cs
29519
src/NHibernate.Test/NHSpecificTest/NH525/Fixture.cs
305136
src/NHibernate.Test/Operations/MergeFixture.cs
31543
src/NHibernate.Test/SqlTest/Identity/IdentityInsertWithStoredProcsTest.cs
32565
src/NHibernate.Test/SqlTest/Identity/IdentityInsertWithStoredProcsTest.cs
33551
src/NHibernate.Test/TypesTest/TimeAsTimeSpanTypeFixture.cs
34571
src/NHibernate.Test/TypesTest/TimeAsTimeSpanTypeFixture.cs
35551
src/NHibernate.Test/TypesTest/TimeSpanTypeFixture.cs
36567
src/NHibernate.Test/TypesTest/TimeSpanTypeFixture.cs
Clone Instance
1
Line Count
5
Source Line
197
Source File
src/NHibernate.Test/GenericTest/MapGeneric/MapGenericFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save( a);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(sin);
                                t.Commit();
                        }


Clone Instance
3
Line Count
5
Source Line
55
Source File
src/NHibernate.Test/MultipleCollectionFetchTest/AbstractMultipleCollectionFetchFixture.cs

            using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(parent);
                                tx.Commit();
                        }


Clone Instance
4
Line Count
5
Source Line
47
Source File
src/NHibernate.Test/NHSpecificTest/Dates/FixtureBase.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(dates);
                                tx.Commit();
                        }


Clone Instance
5
Line Count
5
Source Line
76
Source File
src/NHibernate.Test/NHSpecificTest/FileStreamSql2008/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
6
Line Count
5
Source Line
94
Source File
src/NHibernate.Test/NHSpecificTest/FileStreamSql2008/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete(entityReturned);
                                tx.Commit();
                        }


Clone Instance
7
Line Count
5
Source Line
18
Source File
src/NHibernate.Test/NHSpecificTest/NH1025/Fixture.cs

            // Save our entity with 3 Components that contain null-valued properties
            // null values are required to generate invalid SQL.
            using (ISession s = OpenSession())
            using (ITransaction t = s.BeginTransaction())
            {
                s.SaveOrUpdate(e);
                t.Commit();
            }


Clone Instance
8
Line Count
5
Source Line
15
Source File
src/NHibernate.Test/NHSpecificTest/NH1044/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(p);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(a);
                                tx.Commit();
                        }


Clone Instance
10
Line Count
6
Source Line
30
Source File
src/NHibernate.Test/NHSpecificTest/NH1332/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {

                                s.Save(a);
                                tx.Commit();
                        }


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

                                using (ISession s = OpenSession())
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        s.Delete(a);
                                        tx.Commit();
                                }


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete(entity);
                                tx.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
15
Line Count
5
Source Line
42
Source File
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
16
Line Count
5
Source Line
60
Source File
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
17
Line Count
5
Source Line
78
Source File
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
18
Line Count
5
Source Line
24
Source File
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(b);
                                t.Commit();
                        }


Clone Instance
19
Line Count
5
Source Line
48
Source File
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(b);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(entity);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Merge(entity);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.SaveOrUpdate(entity);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.SaveOrUpdate(entity);
                                t.Commit();
                        }


Clone Instance
24
Line Count
5
Source Line
23
Source File
src/NHibernate.Test/NHSpecificTest/NH479/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(main);
                                t.Commit();
                        }


Clone Instance
25
Line Count
5
Source Line
26
Source File
src/NHibernate.Test/NHSpecificTest/NH496/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(obj);
                                t.Commit();
                        }


Clone Instance
26
Line Count
5
Source Line
44
Source File
src/NHibernate.Test/NHSpecificTest/NH496/Fixture.cs

                                using (ISession s = OpenSession())
                                using (ITransaction t = s.BeginTransaction())
                                {
                                        s.Delete(obj);
                                        t.Commit();
                                }


Clone Instance
27
Line Count
5
Source Line
20
Source File
src/NHibernate.Test/NHSpecificTest/NH523/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(a);
                                t.Commit();
                        }


Clone Instance
28
Line Count
5
Source Line
27
Source File
src/NHibernate.Test/NHSpecificTest/NH523/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.SaveOrUpdateCopy(a);
                                t.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction t = s.BeginTransaction())
                        {
                                s.Save(obj);
                                t.Commit();
                        }


Clone Instance
30
Line Count
5
Source Line
136
Source File
src/NHibernate.Test/Operations/MergeFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete(p);
                                tx.Commit();
                        }


Clone Instance
31
Line Count
5
Source Line
43
Source File
src/NHibernate.Test/SqlTest/Identity/IdentityInsertWithStoredProcsTest.cs

                                using (ISession s = OpenSession())
                                using (ITransaction t = s.BeginTransaction())
                                {
                                        s.Delete(ifa);
                                        t.Commit();
                                }


Clone Instance
32
Line Count
5
Source Line
65
Source File
src/NHibernate.Test/SqlTest/Identity/IdentityInsertWithStoredProcsTest.cs

                                using (ISession s = OpenSession())
                                using (ITransaction t = s.BeginTransaction())
                                {
                                        s.Delete(efa);
                                        t.Commit();
                                }


Clone Instance
33
Line Count
5
Source Line
51
Source File
src/NHibernate.Test/TypesTest/TimeAsTimeSpanTypeFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
34
Line Count
5
Source Line
71
Source File
src/NHibernate.Test/TypesTest/TimeAsTimeSpanTypeFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete(entityReturned);
                                tx.Commit();
                        }


Clone Instance
35
Line Count
5
Source Line
51
Source File
src/NHibernate.Test/TypesTest/TimeSpanTypeFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(entity);
                                tx.Commit();
                        }


Clone Instance
36
Line Count
5
Source Line
67
Source File
src/NHibernate.Test/TypesTest/TimeSpanTypeFixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete(entityReturned);
                                tx.Commit();
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

// Save our entity with 3 Components that contain null-valued properties
// null values are required to generate invalid SQL.
using (ISession s = OpenSession())
   using (ITransaction [[#variable6f5d9a80]]= s.BeginTransaction())
   {
      s. [[#variable6f5d9980]]( [[#variable6f5d97a0]]);
       [[#variable6f5d9a80]].Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f5d9a80]]
tx 
12[[#6f5d9a80]]
tx 
13[[#6f5d9a80]]
t 
14[[#6f5d9a80]]
t 
15[[#6f5d9a80]]
tx 
16[[#6f5d9a80]]
t 
17[[#6f5d9a80]]
t 
18[[#6f5d9a80]]
t 
19[[#6f5d9a80]]
t 
110[[#6f5d9a80]]
t 
111[[#6f5d9a80]]
t 
112[[#6f5d9a80]]
t 
113[[#6f5d9a80]]
t 
114[[#6f5d9a80]]
t 
115[[#6f5d9a80]]
tx 
116[[#6f5d9a80]]
tx 
117[[#6f5d9a80]]
tx 
118[[#6f5d9a80]]
t 
119[[#6f5d9a80]]
t 
120[[#6f5d9a80]]
tx 
121[[#6f5d9a80]]
tx 
122[[#6f5d9a80]]
t 
123[[#6f5d9a80]]
tx 
124[[#6f5d9a80]]
tx 
125[[#6f5d9a80]]
tx 
126[[#6f5d9a80]]
tx 
127[[#6f5d9a80]]
t 
128[[#6f5d9a80]]
tx 
129[[#6f5d9a80]]
t 
130[[#6f5d9a80]]
t 
131[[#6f5d9a80]]
tx 
132[[#6f5d9a80]]
tx 
133[[#6f5d9a80]]
tx 
134[[#6f5d9a80]]
tx 
135[[#6f5d9a80]]
tx 
136[[#6f5d9a80]]
t 
21[[#6f5d9980]]
Save 
22[[#6f5d9980]]
Delete 
23[[#6f5d9980]]
Delete 
24[[#6f5d9980]]
Delete 
25[[#6f5d9980]]
Delete 
26[[#6f5d9980]]
Save 
27[[#6f5d9980]]
Save 
28[[#6f5d9980]]
SaveOrUpdateCopy 
29[[#6f5d9980]]
Delete 
210[[#6f5d9980]]
Save 
211[[#6f5d9980]]
Save 
212[[#6f5d9980]]
Merge 
213[[#6f5d9980]]
SaveOrUpdate 
214[[#6f5d9980]]
Save 
215[[#6f5d9980]]
Delete 
216[[#6f5d9980]]
Save 
217[[#6f5d9980]]
Delete 
218[[#6f5d9980]]
Save 
219[[#6f5d9980]]
SaveOrUpdate 
220[[#6f5d9980]]
Save 
221[[#6f5d9980]]
Save 
222[[#6f5d9980]]
Save 
223[[#6f5d9980]]
Save 
224[[#6f5d9980]]
Save 
225[[#6f5d9980]]
Save 
226[[#6f5d9980]]
Delete 
227[[#6f5d9980]]
SaveOrUpdate 
228[[#6f5d9980]]
Save 
229[[#6f5d9980]]
Save 
230[[#6f5d9980]]
Save 
231[[#6f5d9980]]
Save 
232[[#6f5d9980]]
Delete 
233[[#6f5d9980]]
Save 
234[[#6f5d9980]]
Save 
235[[#6f5d9980]]
Save 
236[[#6f5d9980]]
Save 
31[[#6f5d97a0]]
entity 
32[[#6f5d97a0]]
entityReturned 
33[[#6f5d97a0]]
ifa 
34[[#6f5d97a0]]
efa 
35[[#6f5d97a0]]
p 
36[[#6f5d97a0]]
obj 
37[[#6f5d97a0]]
a 
38[[#6f5d97a0]]
a 
39[[#6f5d97a0]]
obj 
310[[#6f5d97a0]]
main 
311[[#6f5d97a0]]
entity 
312[[#6f5d97a0]]
entity 
313[[#6f5d97a0]]
entity 
314[[#6f5d97a0]]
b 
315[[#6f5d97a0]]
entity 
316[[#6f5d97a0]]
a 
317[[#6f5d97a0]]
a 
318[[#6f5d97a0]]
p 
319[[#6f5d97a0]]
e 
320[[#6f5d97a0]]
dates 
321[[#6f5d97a0]]
parent 
322[[#6f5d97a0]]
sin 
323[[#6f5d97a0]]
entity 
324[[#6f5d97a0]]
entity 
325[[#6f5d97a0]]
entity 
326[[#6f5d97a0]]
entityReturned 
327[[#6f5d97a0]]
entity 
328[[#6f5d97a0]]
a 
329[[#6f5d97a0]]
obj 
330[[#6f5d97a0]]
b 
331[[#6f5d97a0]]
entity 
332[[#6f5d97a0]]
entityReturned 
333[[#6f5d97a0]]
entity 
334[[#6f5d97a0]]
entity 
335[[#6f5d97a0]]
entity 
336[[#6f5d97a0]]
a