CloneSet2105


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.967class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1748
src/NHibernate.Test/NHSpecificTest/NH1025/Fixture.cs
2742
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
Clone Instance
1
Line Count
7
Source Line
48
Source File
src/NHibernate.Test/NHSpecificTest/NH1025/Fixture.cs

        protected override void OnTearDown()
        {
            using ( var s = OpenSession())
            using ( var t = s.BeginTransaction())
            {
                s.Delete("from Entity");
                t.Commit();
            }
        }



Clone Instance
2
Line Count
7
Source Line
42
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                protected override void OnTearDown()
                {
                        using ( var s = OpenSession())
                        using ( var tx = s.BeginTransaction())
                        {
                                s.Delete("from Foo");
                                tx.Commit();
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

protected override void OnTearDown()
{
   using ( var s = OpenSession())
      using ( var [[#variable6c56cbc0]]= s.BeginTransaction())
      {
         s.Delete( [[#variable6c56cb40]]);
          [[#variable6c56cbc0]].Commit();
      }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c56cbc0]]
t 
12[[#6c56cbc0]]
tx 
21[[#6c56cb40]]
"from Entity" 
22[[#6c56cb40]]
"from Foo"