CloneSet481


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11260.968block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111169
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs
212200
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs
Clone Instance
1
Line Count
11
Source Line
169
Source File
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs

                {
                        string[] routes = CreateRoutes();
                        Country country = CreateCountry(routes);
                        Save(country);
                        using (ISession session = OpenSession())
                        {
                                var c = session.Get < Country > (country.Code);
                                Assert.That(c, Is.Not.Null, "country");
                                Assert.That(c.Routes, Is.EquivalentTo(routes), "country.Routes");
                        }
                        Cleanup();
                }


Clone Instance
2
Line Count
12
Source Line
200
Source File
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs

                {
                        City[] cities = CreateCities();
                        Country country = CreateCountry(cities);
                        Save(country);
                        using (ISession session = OpenSession())
                        {
                                var c = session.Get < Country > (country.Code);

                                Assert.That(c, Is.Not.Null, "country");
                                Assert.That(c.Cities, Is.EquivalentTo(cities), "country.Cities");
                        }
                        CleanupWithCities();
                }


Clone AbstractionParameter Count: 6Parameter Bindings

{
    [[#variable4ff9f0c0]][] [[#variable4ff9f040]]= [[#variable4ff9efa0]]();
   Country country = CreateCountry( [[#variable4ff9f040]]);
   Save(country);
   using (ISession session = OpenSession())
   {
      var c = session.Get < Country > (country.Code);
      Assert.That(c, Is.Not.Null, "country");
      Assert.That(c. [[#variable4ff9eee0]], Is.EquivalentTo( [[#variable4ff9f040]]), [[#variable4ff9ee40]]);
   }
    [[#variable4ff9edc0]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ff9f0c0]]
string 
12[[#4ff9f0c0]]
City 
21[[#4ff9f040]]
routes 
22[[#4ff9f040]]
cities 
31[[#4ff9efa0]]
CreateRoutes 
32[[#4ff9efa0]]
CreateCities 
41[[#4ff9eee0]]
Routes 
42[[#4ff9eee0]]
Cities 
51[[#4ff9ee40]]
"country.Routes" 
52[[#4ff9ee40]]
"country.Cities" 
61[[#4ff9edc0]]
Cleanup 
62[[#4ff9edc0]]
CleanupWithCities