CloneSet41


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
53420.963non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15138
src/NHibernate.Test/Classic/ValidatableFixture.cs
2544
src/NHibernate.Test/DriverTest/SqlServerCeDriverFixture.cs
35164
src/NHibernate.Test/ExpressionTest/QueryByExampleTest.cs
4636
src/NHibernate.Test/Join/JoinTest.cs
5626
src/NHibernate.Test/Join/NH1059Fixture.cs
6568
src/NHibernate.Test/Legacy/ABCTest.cs
75355
src/NHibernate.Test/Legacy/MasterDetailTest.cs
8521
src/NHibernate.Test/NHSpecificTest/NH1039/Fixture.cs
9540
src/NHibernate.Test/NHSpecificTest/NH1077/Fixture.cs
10560
src/NHibernate.Test/NHSpecificTest/NH1101/Fixture.cs
11646
src/NHibernate.Test/NHSpecificTest/NH1178/Fixture.cs
12515
src/NHibernate.Test/NHSpecificTest/NH1217/Fixture.cs
13541
src/NHibernate.Test/NHSpecificTest/NH1235/Fixture.cs
14519
src/NHibernate.Test/NHSpecificTest/NH1252/NH1252Fixture.cs
15552
src/NHibernate.Test/NHSpecificTest/NH1275/Fixture.cs
16585
src/NHibernate.Test/NHSpecificTest/NH1275/Fixture.cs
17528
src/NHibernate.Test/NHSpecificTest/NH1284/Fixture.cs
18516
src/NHibernate.Test/NHSpecificTest/NH1297/Fixture.cs
19536
src/NHibernate.Test/NHSpecificTest/NH1324/Fixture.cs
20565
src/NHibernate.Test/NHSpecificTest/NH1324/Fixture.cs
21593
src/NHibernate.Test/NHSpecificTest/NH1324/Fixture.cs
225121
src/NHibernate.Test/NHSpecificTest/NH1324/Fixture.cs
23546
src/NHibernate.Test/NHSpecificTest/NH1347/Fixture.cs
24538
src/NHibernate.Test/NHSpecificTest/NH1492/Fixture.cs
25528
src/NHibernate.Test/NHSpecificTest/NH1675/Fixture.cs
26511
src/NHibernate.Test/NHSpecificTest/NH1715/Fixture.cs
27511
src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs
28586
src/NHibernate.Test/NHSpecificTest/NH1775/Fixture.cs
29559
src/NHibernate.Test/NHSpecificTest/NH508/Fixture.cs
30526
src/NHibernate.Test/NHSpecificTest/NH901/Fixture.cs
31568
src/NHibernate.Test/Pagination/PaginationFixture.cs
32541
src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs
33543
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs
345368
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs
Clone Instance
1
Line Count
5
Source Line
138
Source File
src/NHibernate.Test/Classic/ValidatableFixture.cs

                        // cleanup
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from Video");
                                tx.Commit();
                        }


Clone Instance
2
Line Count
5
Source Line
44
Source File
src/NHibernate.Test/DriverTest/SqlServerCeDriverFixture.cs

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


Clone Instance
3
Line Count
5
Source Line
164
Source File
src/NHibernate.Test/ExpressionTest/QueryByExampleTest.cs

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


Clone Instance
4
Line Count
6
Source Line
36
Source File
src/NHibernate.Test/Join/JoinTest.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from Person");

                                tx.Commit();
                        }


Clone Instance
5
Line Count
6
Source Line
26
Source File
src/NHibernate.Test/Join/NH1059Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from Worker");

                                tx.Commit();
                        }


Clone Instance
6
Line Count
5
Source Line
68
Source File
src/NHibernate.Test/Legacy/ABCTest.cs

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


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

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


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

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


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

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


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

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


Clone Instance
11
Line Count
6
Source Line
46
Source File
src/NHibernate.Test/NHSpecificTest/NH1178/Fixture.cs

                        using (ISession s = OpenSession())

                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from Foo");
                                tx.Commit();
                        }


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

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from System.Object o");
                                tx.Commit();
                        }


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

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


Clone Instance
14
Line Count
5
Source Line
19
Source File
src/NHibernate.Test/NHSpecificTest/NH1252/NH1252Fixture.cs

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

                        // clean up
                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Delete("from Person");
                                tx.Commit();
                        }


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

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


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

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


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

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


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

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


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

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


Clone Instance
31
Line Count
5
Source Line
68
Source File
src/NHibernate.Test/Pagination/PaginationFixture.cs

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


Clone Instance
32
Line Count
5
Source Line
41
Source File
src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs

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


Clone Instance
33
Line Count
5
Source Line
43
Source File
src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs

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


Clone Instance
34
Line Count
5
Source Line
368
Source File
src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs

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


Clone AbstractionParameter Count: 2Parameter Bindings

// cleanup
// clean up
using (ISession s = OpenSession())
   using (ITransaction [[#variable4eb0b940]]= s.BeginTransaction())
   {
      s.Delete( [[#variable4eb0b8a0]]);
       [[#variable4eb0b940]].Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4eb0b940]]
t 
12[[#4eb0b940]]
tx 
13[[#4eb0b940]]
tx 
14[[#4eb0b940]]
t 
15[[#4eb0b940]]
tx 
16[[#4eb0b940]]
t 
17[[#4eb0b940]]
tx 
18[[#4eb0b940]]
tx 
19[[#4eb0b940]]
t 
110[[#4eb0b940]]
tx 
111[[#4eb0b940]]
tx 
112[[#4eb0b940]]
t 
113[[#4eb0b940]]
tx 
114[[#4eb0b940]]
tx 
115[[#4eb0b940]]
tx 
116[[#4eb0b940]]
t 
117[[#4eb0b940]]
t 
118[[#4eb0b940]]
tx 
119[[#4eb0b940]]
t 
120[[#4eb0b940]]
tx 
121[[#4eb0b940]]
tx 
122[[#4eb0b940]]
tx 
123[[#4eb0b940]]
tx 
124[[#4eb0b940]]
tx 
125[[#4eb0b940]]
t 
126[[#4eb0b940]]
t 
127[[#4eb0b940]]
tx 
128[[#4eb0b940]]
tx 
129[[#4eb0b940]]
tx 
130[[#4eb0b940]]
tx 
131[[#4eb0b940]]
tx 
132[[#4eb0b940]]
tx 
133[[#4eb0b940]]
t 
134[[#4eb0b940]]
tx 
21[[#4eb0b8a0]]
"from Location" 
22[[#4eb0b8a0]]
"from AnotherItem" 
23[[#4eb0b8a0]]
"from Aggregated" 
24[[#4eb0b8a0]]
"from DataPoint" 
25[[#4eb0b8a0]]
"from Person" 
26[[#4eb0b8a0]]
"from User" 
27[[#4eb0b8a0]]
"from Member" 
28[[#4eb0b8a0]]
"from ClassA" 
29[[#4eb0b8a0]]
"from Entity" 
210[[#4eb0b8a0]]
"from A" 
211[[#4eb0b8a0]]
"from Model" 
212[[#4eb0b8a0]]
"from A" 
213[[#4eb0b8a0]]
"from SomeClass" 
214[[#4eb0b8a0]]
"from System.Object o" 
215[[#4eb0b8a0]]
"from Foo" 
216[[#4eb0b8a0]]
"from Single" 
217[[#4eb0b8a0]]
"from B" 
218[[#4eb0b8a0]]
"from Worker" 
219[[#4eb0b8a0]]
"from Componentizable" 
220[[#4eb0b8a0]]
"from SqlServerCeEntity" 
221[[#4eb0b8a0]]
"from Video" 
222[[#4eb0b8a0]]
"from SomeClass" 
223[[#4eb0b8a0]]
"from Person" 
224[[#4eb0b8a0]]
"from Person" 
225[[#4eb0b8a0]]
"from A" 
226[[#4eb0b8a0]]
"from A" 
227[[#4eb0b8a0]]
"from Person" 
228[[#4eb0b8a0]]
"from Person" 
229[[#4eb0b8a0]]
"from ClassA" 
230[[#4eb0b8a0]]
"from Person" 
231[[#4eb0b8a0]]
"from Person" 
232[[#4eb0b8a0]]
"from Person" 
233[[#4eb0b8a0]]
"from A" 
234[[#4eb0b8a0]]
"from Person"