CloneSet262


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14310.967statement_list[13]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114383
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
214498
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
314576
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs
Clone Instance
1
Line Count
14
Source Line
383
Source File
src/NHibernate.Test/Criteria/CriteriaQueryTest.cs

                        Student xam = new Student();
                        xam.Name = "Max Rydahl Andersen";
                        xam.StudentNumber = 101;
                        s.Save(xam);

                        Enrolment enrolment1 = new Enrolment();
                        enrolment1.Course = course;
                        enrolment1.CourseCode = course.CourseCode;
                        enrolment1.Semester = 1;
                        enrolment1.Year = 1999;
                        enrolment1.Student = xam;
                        enrolment1.StudentNumber = xam.StudentNumber;
                        xam.Enrolments.Add(enrolment1);
                        s.Save(enrolment1);


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

                                Student xam = new Student();
                                xam.Name = "Max Rydahl Andersen";
                                xam.StudentNumber = 101;
                                s.Save(xam);

                                Enrolment enrolment = new Enrolment();
                                enrolment.Course = course;
                                enrolment.CourseCode = course.CourseCode;
                                enrolment.Semester = 1;
                                enrolment.Year = 1999;
                                enrolment.Student = xam;
                                enrolment.StudentNumber = xam.StudentNumber;
                                xam.Enrolments.Add(enrolment);
                                s.Save(enrolment);


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

                        Student xam = new Student();
                        xam.Name = "Max Rydahl Andersen";
                        xam.StudentNumber = 101;
                        s.Save(xam);

                        Enrolment enrolment = new Enrolment();
                        enrolment.Course = course;
                        enrolment.CourseCode = course.CourseCode;
                        enrolment.Semester = 1;
                        enrolment.Year = 1999;
                        enrolment.Student = xam;
                        enrolment.StudentNumber = xam.StudentNumber;
                        xam.Enrolments.Add(enrolment);
                        s.Save(enrolment);


Clone AbstractionParameter Count: 1Parameter Bindings

Student xam = new Student();
xam.Name = "Max Rydahl Andersen";
xam.StudentNumber = 101;
s.Save(xam);
Enrolment [[#variable2a582da0]]= new Enrolment();
 [[#variable2a582da0]].Course = course;
 [[#variable2a582da0]].CourseCode = course.CourseCode;
 [[#variable2a582da0]].Semester = 1;
 [[#variable2a582da0]].Year = 1999;
 [[#variable2a582da0]].Student = xam;
 [[#variable2a582da0]].StudentNumber = xam.StudentNumber;
xam.Enrolments.Add( [[#variable2a582da0]]);
s.Save( [[#variable2a582da0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2a582da0]]
enrolment1 
12[[#2a582da0]]
enrolment 
13[[#2a582da0]]
enrolment