CloneSet429


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11301.000statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111268
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
2111574
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
3111611
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
11
Source Line
268
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Student bizarroGavin = new Student();
                        bizarroGavin.Name = "Gavin King";
                        bizarroGavin.StudentNumber = 666;
                        session.Save(bizarroGavin);
                        session.Save(gavin);

                        IList result = dc.GetExecutableCriteria(session).
                                 SetMaxResults(3).
                                 List  ();

                        Assert.AreEqual(2, result.Count);


Clone Instance
2
Line Count
11
Source Line
1574
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Student bizarroGavin = new Student();
                        bizarroGavin.Name = "Gavin King";
                        bizarroGavin.StudentNumber = 666;
                        session.Save(bizarroGavin);
                        session.Save(gavin);

                        IList result = dc.GetExecutableCriteria(session).
                                 SetMaxResults(3).
                                 List  ();

                        Assert.AreEqual(2, result.Count);


Clone Instance
3
Line Count
11
Source Line
1611
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Student bizarroGavin = new Student();
                        bizarroGavin.Name = "Gavin King";
                        bizarroGavin.StudentNumber = 666;
                        session.Save(bizarroGavin);
                        session.Save(gavin);

                        IList result = dc.GetExecutableCriteria(session).
                                 SetMaxResults(3).
                                 List  ();

                        Assert.AreEqual(2, result.Count);


Clone AbstractionParameter Count: 0Parameter Bindings

Student bizarroGavin = new Student();
bizarroGavin.Name = "Gavin King";
bizarroGavin.StudentNumber = 666;
session.Save(bizarroGavin);
session.Save(gavin);
IList result = dc.GetExecutableCriteria(session).SetMaxResults(3).List();
Assert.AreEqual(2, result.Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None