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.982 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 121 | src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs |
2 | 9 | 80 | src/NHibernate.Test/Subclass/SubclassFixture.cs |
| ||||
s2.Update(theClass2); s2.Update(theSecondClass2); t2.Commit(); s2.Close(); // lets verify the update went through ISession s3 = OpenSession(); ITransaction t3 = s3.BeginTransaction(); |
| ||||
// save it through the base class reference and make sure that the // subclass properties get updated. s2.Update(base2); s2.Update(oneBase2); t2.Commit(); s2.Close(); // lets test the Criteria interface for subclassing ISession s3 = OpenSession(); ITransaction t3 = s3.BeginTransaction(); |
| |||
// save it through the base class reference and make sure that the // subclass properties get updated. s2.Update( [[#variable28fccfe0]]); s2.Update( [[#variable29026200]]); t2.Commit(); s2.Close(); // lets test the Criteria interface for subclassing // lets verify the update went through ISession s3 = OpenSession(); ITransaction t3 = s3.BeginTransaction(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28fccfe0]] | base2 |
1 | 2 | [[#28fccfe0]] | theClass2 |
2 | 1 | [[#29026200]] | oneBase2 |
2 | 2 | [[#29026200]] | theSecondClass2 |