Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 194 | src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs |
2 | 12 | 227 | src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs |
| ||||
using (ISession s = sessions.OpenSession()) using (ITransaction tx = s.BeginTransaction()) { Nums nums = s.Get < Nums > (id1); Assert.IsNotNull(nums); s.Delete(nums); nums = s.Get < Nums > (id2); Assert.IsNotNull(nums); s.Delete(nums); tx.Commit(); } |
| ||||
using (ISession s = sessions.OpenSession()) using (ITransaction tx = s.BeginTransaction()) { Nums nums = s.Get < Nums > (id1); Assert.IsNotNull(nums); s.Delete(nums); nums = s.Get < Nums > (id2); Assert.IsNotNull(nums); s.Delete(nums); tx.Commit(); } |
| |||
using (ISession s = sessions.OpenSession()) using (ITransaction tx = s.BeginTransaction()) { Nums nums = s.Get < Nums > (id1); Assert.IsNotNull(nums); s.Delete(nums); nums = s.Get < Nums > (id2); Assert.IsNotNull(nums); s.Delete(nums); tx.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |