Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 3 | 1 | 0.967 | statement_list[13] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 383 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 14 | 498 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
3 | 14 | 576 | 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); |
| ||||
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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2a582da0]] | enrolment1 |
1 | 2 | [[#2a582da0]] | enrolment |
1 | 3 | [[#2a582da0]] | enrolment |