Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.976 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 49 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 7 | 80 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Save(c1); session.Save(c2); session.Save(c3); t.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Delete(c1); session.Delete(c2); session.Delete(c3); t.Commit(); } |
| |||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session. [[#variable2932f620]](c1); session. [[#variable2932f620]](c2); session. [[#variable2932f620]](c3); t.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2932f620]] | Delete |
1 | 2 | [[#2932f620]] | Save |