CloneSet70


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14420.978primary_no_array_creation_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114672
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
214861
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
3141047
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
4141230
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
14
Source Line
672
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        s.CreateCriteria( typeof(Student)).
                                 Add(Expression.Like("Name", "Gavin", MatchMode.Start)).
                                 AddOrder(Order.Asc("Name")).
                                 CreateCriteria("Enrolments", "e").
                                 AddOrder(Order.Desc("Year")).
                                 AddOrder(Order.Desc("Semester")).
                                 CreateCriteria("Course", "c").
                                 AddOrder(Order.Asc("Description")).
                                 SetProjection(Projections.ProjectionList().
                                                                 Add(Projections.Property("this.Name")).
                                                                 Add(Projections.Property("e.Year")).
                                                                 Add(Projections.Property("e.Semester")).
                                                                 Add(Projections.Property("c.CourseCode")).
                                                                 Add(Projections.Property("c.Description")))


Clone Instance
2
Line Count
14
Source Line
861
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                                                              s.CreateCriteria( typeof(Student)).
                                 Add                          (Expression.Like("Name", "Gavin", MatchMode.Start)).
                                 AddOrder                     (Order.Asc("Name")).
                                 CreateCriteria               ("Enrolments", "e").
                                 AddOrder                     (Order.Desc("Year")).
                                 AddOrder                     (Order.Desc("Semester")).
                                 CreateCriteria               ("Course", "c").
                                 AddOrder                     (Order.Asc("Description")).
                                 SetProjection                (Projections.ProjectionList().
                                                                                 Add(Projections.Property("this.Name")).
                                                                                 Add(Projections.Property("e.Year")).
                                                                                 Add(Projections.Property("e.Semester")).
                                                                                 Add(Projections.Property("c.CourseCode")).
                                                                                 Add(Projections.Property("c.Description")))


Clone Instance
3
Line Count
14
Source Line
1047
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        s.CreateCriteria( typeof(Student)).
                                 Add(Expression.Like("Name", "Gavin", MatchMode.Start)).
                                 AddOrder(Order.Asc("Name")).
                                 CreateCriteria("Enrolments", "e").
                                 AddOrder(Order.Desc("Year")).
                                 AddOrder(Order.Desc("Semester")).
                                 CreateCriteria("Course", "c").
                                 AddOrder(Order.Asc("Description")).
                                 SetProjection(Projections.ProjectionList().
                                                                 Add(Property.ForName("this.Name")).
                                                                 Add(Property.ForName("e.Year")).
                                                                 Add(Property.ForName("e.Semester")).
                                                                 Add(Property.ForName("c.CourseCode")).
                                                                 Add(Property.ForName("c.Description")))


Clone Instance
4
Line Count
14
Source Line
1230
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                                                                   s.CreateCriteria( typeof(Student)).
                                 Add                               (Expression.Like("Name", "Gavin", MatchMode.Start)).
                                 AddOrder                          (Order.Asc("Name")).
                                 CreateCriteria                    ("Enrolments", "e").
                                 AddOrder                          (Order.Desc("Year")).
                                 AddOrder                          (Order.Desc("Semester")).
                                 CreateCriteria                    ("Course", "c").
                                 AddOrder                          (Order.Asc("Description")).
                                 SetProjection                     (Projections.ProjectionList().
                                                                                      Add(Property.ForName("this.Name")).
                                                                                      Add(Property.ForName("e.Year")).
                                                                                      Add(Property.ForName("e.Semester")).
                                                                                      Add(Property.ForName("c.CourseCode")).
                                                                                      Add(Property.ForName("c.Description")))


Clone AbstractionParameter Count: 2Parameter Bindings

s.CreateCriteria( typeof(Student)).Add(Expression.Like("Name", "Gavin", MatchMode.Start)).AddOrder(Order.Asc("Name")).CreateCriteria("Enrolments", "e").AddOrder(Order.Desc("Year")).AddOrder(Order.Desc("Semester")).CreateCriteria("Course", "c").AddOrder(Order.Asc("Description")).SetProjection(Projections.ProjectionList().Add( [[#variable46dd4460]]. [[#variable46dd4360]]("this.Name")).Add( [[#variable46dd4460]]. [[#variable46dd4360]]("e.Year")).Add( [[#variable46dd4460]]. [[#variable46dd4360]]("e.Semester")).Add( [[#variable46dd4460]]. [[#variable46dd4360]]("c.CourseCode")).Add( [[#variable46dd4460]]. [[#variable46dd4360]]("c.Description")))
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46dd4460]]
Property 
12[[#46dd4460]]
Projections 
13[[#46dd4460]]
Property 
14[[#46dd4460]]
Projections 
21[[#46dd4360]]
ForName 
22[[#46dd4360]]
Property 
23[[#46dd4360]]
ForName 
24[[#46dd4360]]
Property