Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.985 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 45 | src/NHibernate.Test/Naturalid/Immutable/ImmutableNaturalIdFixture.cs |
2 | 5 | 53 | src/NHibernate.Test/Naturalid/Immutable/ImmutableNaturalIdFixture.cs |
| ||||
using (ISession session = OpenSession()) { session.BeginTransaction(); session.Update(user); session.Transaction.Commit(); } |
| ||||
// clean up using (ISession session = OpenSession()) { session.BeginTransaction(); session.Delete(user); session.Transaction.Commit(); } |
| |||
// clean up using (ISession session = OpenSession()) { session.BeginTransaction(); session. [[#variable53ce0ac0]](user); session.Transaction.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53ce0ac0]] | Update |
1 | 2 | [[#53ce0ac0]] | Delete |