Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 3 | 0.964 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 34 | src/NHibernate.Test/IdTest/AssignedFixture.cs |
2 | 6 | 38 | src/NHibernate.Test/NHSpecificTest/NH1182/Fixture.cs |
3 | 6 | 37 | src/NHibernate.Test/NHSpecificTest/NH1773/Fixture.cs |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from Child").ExecuteUpdate(); s.CreateQuery("delete from Parent").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.CreateQuery("delete from ObjectB").ExecuteUpdate(); s.CreateQuery("delete from ObjectA").ExecuteUpdate(); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.CreateQuery("delete from Person").ExecuteUpdate(); s.CreateQuery("delete from Country").ExecuteUpdate(); tx.Commit(); } |
| |||
using (ISession s = OpenSession()) using (ITransaction [[#variable297038c0]]= s.BeginTransaction()) { s.CreateQuery( [[#variable29703840]]).ExecuteUpdate(); s.CreateQuery( [[#variable297037e0]]).ExecuteUpdate(); [[#variable297038c0]].Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#297038c0]] | tx |
1 | 2 | [[#297038c0]] | t |
1 | 3 | [[#297038c0]] | t |
2 | 1 | [[#29703840]] | "delete from Person" |
2 | 2 | [[#29703840]] | "delete from ObjectB" |
2 | 3 | [[#29703840]] | "delete from Child" |
3 | 1 | [[#297037e0]] | "delete from Country" |
3 | 2 | [[#297037e0]] | "delete from ObjectA" |
3 | 3 | [[#297037e0]] | "delete from Parent" |