CloneSet106


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24310.953statement_list[21]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12442
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs
224140
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs
324208
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs
Clone Instance
1
Line Count
24
Source Line
42
Source File
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs

                                Product p = new Product();
                                p.ProductId = "A123";
                                p.Description = "nipple ring";
                                p.Price = 1.0M;
                                p.NumberAvailable = 1004;
                                s.Persist(p);

                                p2 = new Product();
                                p2.ProductId = "X525";
                                p2.Description = "nose stud";
                                p2.Price = 3.0M;
                                p2.NumberAvailable = 105;
                                s.Persist(p2);

                                Customer c = new Customer();
                                c.Address = "St Kilda Rd, MEL, 3000";
                                c.Name = "Virginia";
                                c.CustomerId = "C111";
                                s.Persist(c);

                                Order o = new Order(c);
                                o.OrderDate = DateTime.Today;
                                LineItem li = new LineItem(o, p);
                                li.Quantity = 2;


Clone Instance
2
Line Count
24
Source Line
140
Source File
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs

                        Product p = new Product();
                        p.ProductId = "A123";
                        p.Description = "nipple ring";
                        p.Price = 1.0M;
                        p.NumberAvailable = 1004;
                        s.Persist(p);

                        Product p2 = new Product();
                        p2.ProductId = "X525";
                        p2.Description = "nose stud";
                        p2.Price = 3.0M;
                        p2.NumberAvailable = 105;
                        s.Persist(p2);

                        Customer c = new Customer();
                        c.Address = "St Kilda Rd, MEL, 3000";
                        c.Name = "Virginia";
                        c.CustomerId = "C111";
                        s.Persist(c);

                        Order o = new Order(c);
                        o.OrderDate = DateTime.Today;
                        LineItem li = new LineItem(o, p);
                        li.Quantity = 2;


Clone Instance
3
Line Count
24
Source Line
208
Source File
src/NHibernate.Test/CompositeId/CompositeIdFixture.cs

                        Product p = new Product();
                        p.ProductId = "A123";
                        p.Description = "nipple ring";
                        p.Price = 1.0M;
                        p.NumberAvailable = 1004;
                        s.Persist(p);

                        Product p2 = new Product();
                        p2.ProductId = "X525";
                        p2.Description = "nose stud";
                        p2.Price = 3.0M;
                        p2.NumberAvailable = 105;
                        s.Persist(p2);

                        Customer c = new Customer();
                        c.Address = "St Kilda Rd, MEL, 3000";
                        c.Name = "Virginia";
                        c.CustomerId = "C111";
                        s.Persist(c);

                        Order o = new Order(c);
                        o.OrderDate = DateTime.Today;
                        LineItem li = new LineItem(o, p);
                        li.Quantity = 2;


Clone AbstractionParameter Count: 1Parameter Bindings

Product p = new Product();
p.ProductId = "A123";
p.Description = "nipple ring";
p.Price = 1.0M;
p.NumberAvailable = 1004;
s.Persist(p);
 [[#variable6b97c160]]
p2.ProductId = "X525";
p2.Description = "nose stud";
p2.Price = 3.0M;
p2.NumberAvailable = 105;
s.Persist(p2);
Customer c = new Customer();
c.Address = "St Kilda Rd, MEL, 3000";
c.Name = "Virginia";
c.CustomerId = "C111";
s.Persist(c);
Order o = new Order(c);
o.OrderDate = DateTime.Today;
LineItem li = new LineItem(o, p);
li.Quantity = 2;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6b97c160]]
p2 = new Product(); 
12[[#6b97c160]]
Product p2 = new Product(); 
13[[#6b97c160]]
Product p2 = new Product();