CloneSet1002


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6330.964non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1634
src/NHibernate.Test/IdTest/AssignedFixture.cs
2638
src/NHibernate.Test/NHSpecificTest/NH1182/Fixture.cs
3637
src/NHibernate.Test/NHSpecificTest/NH1773/Fixture.cs
Clone Instance
1
Line Count
6
Source Line
34
Source File
src/NHibernate.Test/IdTest/AssignedFixture.cs

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


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

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


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

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


Clone AbstractionParameter Count: 3Parameter Bindings

using (ISession s = OpenSession())
   using (ITransaction [[#variable297038c0]]= s.BeginTransaction())
   {
      s.CreateQuery( [[#variable29703840]]).ExecuteUpdate();
      s.CreateQuery( [[#variable297037e0]]).ExecuteUpdate();
       [[#variable297038c0]].Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#297038c0]]
tx 
12[[#297038c0]]
t 
13[[#297038c0]]
t 
21[[#29703840]]
"delete from Person" 
22[[#29703840]]
"delete from ObjectB" 
23[[#29703840]]
"delete from Child" 
31[[#297037e0]]
"delete from Country" 
32[[#297037e0]]
"delete from ObjectA" 
33[[#297037e0]]
"delete from Parent"