CloneSet50


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17550.989class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11729
src/NHibernate.Test/NHSpecificTest/NH1280/NH1280Fixture.cs
21730
src/NHibernate.Test/NHSpecificTest/NH1291AnonExample/NH1291AnonExampleFixture.cs
31724
src/NHibernate.Test/NHSpecificTest/NH1393/Fixture.cs
41725
src/NHibernate.Test/NHSpecificTest/NH1502/Fixture.cs
51724
src/NHibernate.Test/NHSpecificTest/NH1533/Fixture.cs
Clone Instance
1
Line Count
17
Source Line
29
Source File
src/NHibernate.Test/NHSpecificTest/NH1280/NH1280Fixture.cs

                protected override void OnSetUp()
                {
                        using (ISession s = OpenSession())
                        {
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        Person e1 = new Person("Joe", 10, 9);
                                        Person e2 = new Person("Sally", 20, 8);
                                        Person e3 = new Person("Tim", 20, 7); //20
                                        Person e4 = new Person("Fred", 40, 40);
                                        Person e5 = new Person("Fred", 50, 50);
                                        s.Save(e1);
                                        s.Save(e2);
                                        s.Save(e3);
                                        s.Save(e4);
                                        s.Save(e5);
                                        tx.Commit();
                                }
                        }
                }



Clone Instance
2
Line Count
17
Source Line
30
Source File
src/NHibernate.Test/NHSpecificTest/NH1291AnonExample/NH1291AnonExampleFixture.cs

                protected override void OnSetUp()
                {
                        using (ISession s = OpenSession())
                        {
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        Person e1 = new Person("Joe", 10, 9);
                                        Person e2 = new Person("Sally", 20, 8);
                                        Person e3 = new Person("Tim", 20, 7); //20
                                        Person e4 = new Person("Fred", 40, 40);
                                        Person e5 = new Person("Fred", 50, 50);
                                        s.Save(e1);
                                        s.Save(e2);
                                        s.Save(e3);
                                        s.Save(e4);
                                        s.Save(e5);
                                        tx.Commit();
                                }
                        }
                }



Clone Instance
3
Line Count
17
Source Line
24
Source File
src/NHibernate.Test/NHSpecificTest/NH1393/Fixture.cs

                protected override void OnSetUp()
                {
                        using (ISession s = OpenSession())
                        {
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        Person e1 = new Person("Joe", 10, 9);
                                        Person e2 = new Person("Sally", 100, 8);
                                        Person e3 = new Person("Tim", 20, 7); //20
                                        Person e4 = new Person("Fred", 40, 40);
                                        Person e5 = new Person("Mike", 50, 50);
                                        s.Save(e1);
                                        s.Save(e2);
                                        s.Save(e3);
                                        s.Save(e4);
                                        s.Save(e5);
                                        tx.Commit();
                                }
                        }
                }



Clone Instance
4
Line Count
17
Source Line
25
Source File
src/NHibernate.Test/NHSpecificTest/NH1502/Fixture.cs

                protected override void OnSetUp()
                {
                        using (ISession s = OpenSession())
                        {
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        Person e1 = new Person("Joe", 10, 9);
                                        Person e2 = new Person("Sally", 100, 8);
                                        Person e3 = new Person("Tim", 20, 7); //20
                                        Person e4 = new Person("Fred", 40, 40);
                                        Person e5 = new Person("Mike", 50, 50);
                                        s.Save(e1);
                                        s.Save(e2);
                                        s.Save(e3);
                                        s.Save(e4);
                                        s.Save(e5);
                                        tx.Commit();
                                }
                        }
                }



Clone Instance
5
Line Count
17
Source Line
24
Source File
src/NHibernate.Test/NHSpecificTest/NH1533/Fixture.cs

                protected override void OnSetUp()
                {
                        using (ISession s = OpenSession())
                        {
                                using (ITransaction tx = s.BeginTransaction())
                                {
                                        Person e1 = new Person("Joe", 10, 9);
                                        Person e2 = new Person("Sally", 10, 8);
                                        Person e3 = new Person("Tim", 20, 40); //20
                                        Person e4 = new Person("Fred", 20, 7);
                                        Person e5 = new Person("Mike", 50, 50);
                                        s.Save(e1);
                                        s.Save(e2);
                                        s.Save(e3);
                                        s.Save(e4);
                                        s.Save(e5);
                                        tx.Commit();
                                }
                        }
                }



Clone AbstractionParameter Count: 5Parameter Bindings

protected override void OnSetUp()
{
   using (ISession s = OpenSession())
   {
      using (ITransaction tx = s.BeginTransaction())
      {
         Person e1 = new Person("Joe", 10, 9);
         Person e2 = new Person("Sally", [[#variable6f229440]], 8);
         Person e3 = new Person("Tim", 20, [[#variable6f2294e0]]); //20
         Person e4 = new Person("Fred", [[#variable6f229460]], [[#variable6f2293a0]]);
         Person e5 = new Person( [[#variable6f229380]], 50, 50);
         s.Save(e1);
         s.Save(e2);
         s.Save(e3);
         s.Save(e4);
         s.Save(e5);
         tx.Commit();
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f229440]]
20 
12[[#6f229440]]
100 
13[[#6f229440]]
10 
14[[#6f229440]]
100 
15[[#6f229440]]
20 
21[[#6f2294e0]]
7 
22[[#6f2294e0]]
7 
23[[#6f2294e0]]
40 
24[[#6f2294e0]]
7 
25[[#6f2294e0]]
7 
31[[#6f229460]]
40 
32[[#6f229460]]
40 
33[[#6f229460]]
20 
34[[#6f229460]]
40 
35[[#6f229460]]
40 
41[[#6f2293a0]]
40 
42[[#6f2293a0]]
40 
43[[#6f2293a0]]
7 
44[[#6f2293a0]]
40 
45[[#6f2293a0]]
40 
51[[#6f229380]]
"Fred" 
52[[#6f229380]]
"Mike" 
53[[#6f229380]]
"Mike" 
54[[#6f229380]]
"Mike" 
55[[#6f229380]]
"Fred"