CloneSet214


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27201.000statement_list[23]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1271350
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
2271397
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
27
Source Line
1350
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Course courseA = new Course();
                        courseA.CourseCode = "HIB-A";
                        courseA.Description = "Hibernate Training A";
                        session.Save(courseA);

                        Course courseB = new Course();
                        courseB.CourseCode = "HIB-B";
                        courseB.Description = "Hibernate Training B";
                        session.Save(courseB);

                        Student gavin = new Student();
                        gavin.Name = "Gavin King";
                        gavin.StudentNumber = 232;
                        gavin.PreferredCourse = courseA;
                        session.Save(gavin);

                        Student leonardo = new Student();
                        leonardo.Name = "Leonardo Quijano";
                        leonardo.StudentNumber = 233;
                        leonardo.PreferredCourse = courseB;
                        session.Save(leonardo);

                        Student johnDoe = new Student();
                        johnDoe.Name = "John Doe";
                        johnDoe.StudentNumber = 235;
                        johnDoe.PreferredCourse = null;
                        session.Save(johnDoe);


Clone Instance
2
Line Count
27
Source Line
1397
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Course courseA = new Course();
                        courseA.CourseCode = "HIB-A";
                        courseA.Description = "Hibernate Training A";
                        session.Save(courseA);

                        Course courseB = new Course();
                        courseB.CourseCode = "HIB-B";
                        courseB.Description = "Hibernate Training B";
                        session.Save(courseB);

                        Student gavin = new Student();
                        gavin.Name = "Gavin King";
                        gavin.StudentNumber = 232;
                        gavin.PreferredCourse = courseA;
                        session.Save(gavin);

                        Student leonardo = new Student();
                        leonardo.Name = "Leonardo Quijano";
                        leonardo.StudentNumber = 233;
                        leonardo.PreferredCourse = courseB;
                        session.Save(leonardo);

                        Student johnDoe = new Student();
                        johnDoe.Name = "John Doe";
                        johnDoe.StudentNumber = 235;
                        johnDoe.PreferredCourse = null;
                        session.Save(johnDoe);


Clone AbstractionParameter Count: 0Parameter Bindings

Course courseA = new Course();
courseA.CourseCode = "HIB-A";
courseA.Description = "Hibernate Training A";
session.Save(courseA);
Course courseB = new Course();
courseB.CourseCode = "HIB-B";
courseB.Description = "Hibernate Training B";
session.Save(courseB);
Student gavin = new Student();
gavin.Name = "Gavin King";
gavin.StudentNumber = 232;
gavin.PreferredCourse = courseA;
session.Save(gavin);
Student leonardo = new Student();
leonardo.Name = "Leonardo Quijano";
leonardo.StudentNumber = 233;
leonardo.PreferredCourse = courseB;
session.Save(leonardo);
Student johnDoe = new Student();
johnDoe.Name = "John Doe";
johnDoe.StudentNumber = 235;
johnDoe.PreferredCourse = null;
session.Save(johnDoe);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None