CloneSet887


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.975non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17550
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
2820
src/NHibernate.Test/NHSpecificTest/NH1064/Fixture.cs
3719
src/NHibernate.Test/NHSpecificTest/NH995/Fixture.cs
Clone Instance
1
Line Count
7
Source Line
550
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

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


Clone Instance
2
Line Count
8
Source Line
20
Source File
src/NHibernate.Test/NHSpecificTest/NH1064/Fixture.cs

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

                                tx.Commit();
                        }


Clone Instance
3
Line Count
7
Source Line
19
Source File
src/NHibernate.Test/NHSpecificTest/NH995/Fixture.cs

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


Clone AbstractionParameter Count: 3Parameter Bindings

using (ISession s = OpenSession())
   using (ITransaction tx = s.BeginTransaction())
   {
      s.Delete( [[#variable2893a180]]);
      s.Delete( [[#variable2893a0c0]]);
      s.Delete( [[#variable2893a080]]);
      tx.Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2893a180]]
"from ClassC" 
12[[#2893a180]]
"from TypeC" 
13[[#2893a180]]
"from Enrolment" 
21[[#2893a0c0]]
"from ClassB" 
22[[#2893a0c0]]
"from TypeB" 
23[[#2893a0c0]]
"from Student" 
31[[#2893a080]]
"from ClassA" 
32[[#2893a080]]
"from TypeA" 
33[[#2893a080]]
"from Course"