Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.991 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 58 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
2 | 6 | 85 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
| ||||
using (ISession s = OpenSession()) { s.Update(v); s.Flush(); } Assert.That(sessions.Statistics.EntityUpdateCount, Is.EqualTo(0)); |
| ||||
using (ISession s = OpenSession()) { s.SaveOrUpdateCopy(v); s.Flush(); } Assert.That(sessions.Statistics.EntityUpdateCount, Is.EqualTo(0)); |
| |||
using (ISession s = OpenSession()) { s. [[#variable283631a0]](v); s.Flush(); } Assert.That(sessions.Statistics.EntityUpdateCount, Is.EqualTo(0)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#283631a0]] | Update |
1 | 2 | [[#283631a0]] | SaveOrUpdateCopy |