Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.988 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 346 | src/NHibernate.Test/FilterTest/DynamicFilterTest.cs |
2 | 9 | 366 | src/NHibernate.Test/FilterTest/DynamicFilterTest.cs |
| ||||
Assert.IsTrue(result.Count > 0, "No products returned from HQL"); Product prod = (Product) result[0]; Assert.IsNotNull(prod); Assert.AreEqual(1, prod.Categories.Count, "Incorrect Product.categories count for filter on collection Load"); session.Close(); testData.Release(); |
| ||||
Assert.IsTrue(result.Count > 0, "No products returned from HQL many-to-many filter case"); Product prod = (Product) result[0]; Assert.IsNotNull(prod); Assert.AreEqual(1, prod.Categories.Count, "Incorrect Product.categories count for filter with HQL"); session.Close(); testData.Release(); |
| |||
Assert.IsTrue(result.Count > 0, [[#variable6c9b0520]]); Product prod = (Product)result[0]; Assert.IsNotNull(prod); Assert.AreEqual(1, prod.Categories.Count, [[#variable54138700]]); session.Close(); testData.Release(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c9b0520]] | "No products returned from HQL many-to-many filter case" |
1 | 2 | [[#6c9b0520]] | "No products returned from HQL" |
2 | 1 | [[#54138700]] | "Incorrect Product.categories count for filter with HQL" |
2 | 2 | [[#54138700]] | "Incorrect Product.categories count for filter on collection Load" |