CloneSet734


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.985non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1913
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs
2942
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs
Clone Instance
1
Line Count
9
Source Line
13
Source File
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(new CustomerNoSmart("Somebody"));
                                CustomerNoSmart c = new CustomerNoSmart("Somebody else");
                                c.Category = new CustomerCategory("User");
                                s.Save(c.Category);
                                s.Save(c);
                                tx.Commit();
                        }


Clone Instance
2
Line Count
9
Source Line
42
Source File
src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs

                        using (ISession s = OpenSession())
                        using (ITransaction tx = s.BeginTransaction())
                        {
                                s.Save(new Customer("Somebody"));
                                Customer c = new Customer("Somebody else");
                                c.Category = new CustomerCategory("User");
                                s.Save(c.Category);
                                s.Save(c);
                                tx.Commit();
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

using (ISession s = OpenSession())
   using (ITransaction tx = s.BeginTransaction())
   {
      s.Save(new [[#variable26d3baa0]]("Somebody"));
       [[#variable26d3baa0]]c = new [[#variable26d3baa0]]("Somebody else");
      c.Category = new CustomerCategory("User");
      s.Save(c.Category);
      s.Save(c);
      tx.Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#26d3baa0]]
CustomerNoSmart 
12[[#26d3baa0]]
Customer