Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 626 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
2 | 5 | 741 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
| ||||
// modify the bag so it is updated - should not be recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
// modify the array so it is updated - should not be recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| |||
// modify the bag so it is updated - should not be recreated // modify the array so it is updated - should not be recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass)s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |