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