CloneSet370


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112689
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
212879
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
12
Source Line
689
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        ProjectionList p1 = Projections.ProjectionList().
                                 Add        (Projections.Count("StudentNumber")).
                                 Add        (Projections.Max("StudentNumber")).
                                 Add        (Projections.RowCount());

                        ProjectionList p2 = Projections.ProjectionList().
                                 Add        (Projections.Min("StudentNumber")).
                                 Add        (Projections.Avg("StudentNumber")).
                                 Add        (Projections.SqlProjection(
                                                        "1 as constOne, count(*) as countStar",
                                                        new String[] { "constOne", "countStar"
                                                                     } , new IType[] { NHibernateUtil.Int32, NHibernateUtil.Int32
                                                                                     } ));


Clone Instance
2
Line Count
12
Source Line
879
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        ProjectionList p1 = Projections.ProjectionList().
                                 Add        (Projections.Count("StudentNumber")).
                                 Add        (Projections.Max("StudentNumber")).
                                 Add        (Projections.RowCount());

                        ProjectionList p2 = Projections.ProjectionList().
                                 Add        (Projections.Min("StudentNumber")).
                                 Add        (Projections.Avg("StudentNumber")).
                                 Add        (Projections.SqlProjection(
                                                        "1 as constOne, count(*) as countStar",
                                                        new String[] { "constOne", "countStar"
                                                                     } , new IType[] { NHibernateUtil.Int32, NHibernateUtil.Int32
                                                                                     } ));


Clone AbstractionParameter Count: 0Parameter Bindings

ProjectionList p1 = Projections.ProjectionList().Add(Projections.Count("StudentNumber")).Add(Projections.Max("StudentNumber")).Add(Projections.RowCount());
ProjectionList p2 = Projections.ProjectionList().Add(Projections.Min("StudentNumber")).Add(Projections.Avg("StudentNumber")).Add(Projections.SqlProjection("1 as constOne, count(*) as countStar", new String[]
                                                                                                                                                                                                   {
                                                                                                                                                                                                      "constOne", "countStar"
                                                                                                                                                                                                   } , new IType[]
                                                                                                                                                                                                       {
                                                                                                                                                                                                          NHibernateUtil.Int32, NHibernateUtil.Int32
                                                                                                                                                                                                       } ));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None