Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 0 | 1.000 | statement_list[23] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 1350 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 27 | 1397 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |