CloneSet276


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6830.960non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16294
src/NHibernate.Test/Legacy/ABCProxyTest.cs
2657
src/NHibernate.Test/NHSpecificTest/NH1179/Fixture.cs
3630
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs
4659
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs
5645
src/NHibernate.Test/NHSpecificTest/NH1490/Fixture.cs
6633
src/NHibernate.Test/NHSpecificTest/NH1706/KeyPropertyRefFixture.cs
7666
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs
8611
src/NHibernate.Test/NHSpecificTest/NH1959/Fixture.cs
Clone Instance
1
Line Count
6
Source Line
294
Source File
src/NHibernate.Test/Legacy/ABCProxyTest.cs

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


Clone Instance
2
Line Count
6
Source Line
57
Source File
src/NHibernate.Test/NHSpecificTest/NH1179/Fixture.cs

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


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

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


Clone Instance
4
Line Count
6
Source Line
59
Source File
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs

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


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

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


Clone Instance
6
Line Count
6
Source Line
33
Source File
src/NHibernate.Test/NHSpecificTest/NH1706/KeyPropertyRefFixture.cs

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


Clone Instance
7
Line Count
6
Source Line
66
Source File
src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs

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


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

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


Clone AbstractionParameter Count: 3Parameter Bindings

// cleanup
using (ISession s = OpenSession())
   using (ITransaction [[#variable6e4d1ec0]]= s.BeginTransaction())
   {
      s.Delete( [[#variable6e4d1e20]]);
      s.Delete( [[#variable6e4d1d60]]);
       [[#variable6e4d1ec0]].Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e4d1ec0]]
tx 
12[[#6e4d1ec0]]
t 
13[[#6e4d1ec0]]
tx 
14[[#6e4d1ec0]]
tx 
15[[#6e4d1ec0]]
tx 
16[[#6e4d1ec0]]
tx 
17[[#6e4d1ec0]]
t 
18[[#6e4d1ec0]]
tx 
21[[#6e4d1e20]]
"from ClassB" 
22[[#6e4d1e20]]
"from ClassB" 
23[[#6e4d1e20]]
"from B" 
24[[#6e4d1e20]]
"from Customer" 
25[[#6e4d1e20]]
"from CustomerNoSmart" 
26[[#6e4d1e20]]
"from MainClass" 
27[[#6e4d1e20]]
"from A" 
28[[#6e4d1e20]]
"from Customer" 
31[[#6e4d1d60]]
"from ClassA" 
32[[#6e4d1d60]]
"from ClassA" 
33[[#6e4d1d60]]
"from A" 
34[[#6e4d1d60]]
"from Category" 
35[[#6e4d1d60]]
"from Category" 
36[[#6e4d1d60]]
"from RelatedClass" 
37[[#6e4d1d60]]
"from E" 
38[[#6e4d1d60]]
"from Category"