Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.961 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 92 | src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs |
2 | 9 | 107 | src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs |
| ||||
using ( var tx = new TransactionScope()) { using ( var s = sessions.OpenSession()) { var nums = s.Load < Nums > (29); Assert.AreEqual(1, nums.NumA); Assert.AreEqual(3, nums.NumB); } tx.Complete(); } |
| ||||
using ( var tx = new TransactionScope()) { using ( var s = sessions.OpenSession(connection)) { var nums = s.Load < Nums > (29); Assert.AreEqual(1, nums.NumA); Assert.AreEqual(3, nums.NumB); } tx.Complete(); } |
| |||
using ( var tx = new TransactionScope()) { using ( var s = sessions.OpenSession( [[#variable5543a420]])) { var nums = s.Load < Nums > (29); Assert.AreEqual(1, nums.NumA); Assert.AreEqual(3, nums.NumB); } tx.Complete(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5543a420]] | |
1 | 2 | [[#5543a420]] | connection |