Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.950 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 24 | src/NHibernate.Test/NHSpecificTest/NH1716/Fixture.cs |
2 | 5 | 29 | src/NHibernate.Test/NHSpecificTest/NH662/Fixture.cs |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Save(entity); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using ( var tx = s.BeginTransaction()) { s.Delete(d); tx.Commit(); } |
| |||
using (ISession s = OpenSession()) using ( [[#variable573fb700]]tx = s.BeginTransaction()) { s. [[#variable573fb660]]( [[#variable573fb5e0]]); tx.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#573fb700]] | var |
1 | 2 | [[#573fb700]] | ITransaction |
2 | 1 | [[#573fb660]] | Delete |
2 | 2 | [[#573fb660]] | Save |
3 | 1 | [[#573fb5e0]] | d |
3 | 2 | [[#573fb5e0]] | entity |