CloneSet1086


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.962class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11178
src/NHibernate.Test/NHSpecificTest/NH1549/Fixture.cs
21152
src/NHibernate.Test/NHSpecificTest/NH1556/Fixture.cs
Clone Instance
1
Line Count
11
Source Line
78
Source File
src/NHibernate.Test/NHSpecificTest/NH1549/Fixture.cs

                protected override void OnTearDown()
                {
                        using (ISession session = OpenSession()) {

                                using (ITransaction trans = session.BeginTransaction())
                                {
                                        session.Delete("from ProductWithId");
                                        session.Delete("from CategoryWithId");
                                        session.Delete("from ProductWithInheritedId");
                                        session.Delete("from CategoryWithInheritedId");
                                        trans.Commit();
                                }
                                                                 }
                }



Clone Instance
2
Line Count
11
Source Line
52
Source File
src/NHibernate.Test/NHSpecificTest/NH1556/Fixture.cs

                protected override void OnTearDown()
                {
                        using (ISession session = OpenSession())
                        {
                                using (ITransaction tx = session.BeginTransaction())
                                {
                                        session.Delete("from Claim");
                                        session.Delete("from Patient");
                                        session.Delete("from ProductIdentifier");
                                        session.Delete("from Product");
                                        tx.Commit();
                                }
                        }
                }



Clone AbstractionParameter Count: 5Parameter Bindings

protected override void OnTearDown()
{
   using (ISession session = OpenSession())
   {
      using (ITransaction [[#variable298831c0]]= session.BeginTransaction())
      {
         session.Delete( [[#variable29883100]]);
         session.Delete( [[#variable29882f60]]);
         session.Delete( [[#variable29882580]]);
         session.Delete( [[#variable29882fa0]]);
          [[#variable298831c0]].Commit();
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#298831c0]]
trans 
12[[#298831c0]]
tx 
21[[#29883100]]
"from ProductWithId" 
22[[#29883100]]
"from Claim" 
31[[#29882f60]]
"from CategoryWithId" 
32[[#29882f60]]
"from Patient" 
41[[#29882580]]
"from ProductWithInheritedId" 
42[[#29882580]]
"from ProductIdentifier" 
51[[#29882fa0]]
"from CategoryWithInheritedId" 
52[[#29882fa0]]
"from Product"