Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 6 | 2 | 0.963 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 28 | src/NHibernate.Test/NHSpecificTest/NH1159/Fixture.cs |
2 | 5 | 34 | src/NHibernate.Test/NHSpecificTest/NH1413/PagingTest.cs |
3 | 5 | 129 | src/NHibernate.Test/NHSpecificTest/NH335/Fixture.cs |
4 | 5 | 44 | src/NHibernate.Test/NHSpecificTest/NH440/Fixture.cs |
5 | 5 | 29 | src/NHibernate.Test/NHSpecificTest/NH464/Fixture.cs |
6 | 5 | 39 | src/NHibernate.Test/NHSpecificTest/NH464/Fixture.cs |
| ||||
using (ISession session = OpenSession()) using (ITransaction tran = session.BeginTransaction()) { session.Delete("from Contact"); tran.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Delete("from Foo"); t.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction tx = session.BeginTransaction()) { session.Delete("from AbcThing"); tx.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Delete("from System.Object"); // clear everything from database t.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Delete("from System.Object"); // clear everything from database t.Commit(); } |
| ||||
using (ISession session = OpenSession()) using (ITransaction t = session.BeginTransaction()) { session.Delete("from System.Object"); // clear everything from database t.Commit(); } |
| |||
using (ISession session = OpenSession()) using (ITransaction [[#variable2d0606c0]]= session.BeginTransaction()) { session.Delete( [[#variable2d060620]]); // clear everything from database [[#variable2d0606c0]].Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d0606c0]] | t |
1 | 2 | [[#2d0606c0]] | tx |
1 | 3 | [[#2d0606c0]] | t |
1 | 4 | [[#2d0606c0]] | tran |
1 | 5 | [[#2d0606c0]] | t |
1 | 6 | [[#2d0606c0]] | t |
2 | 1 | [[#2d060620]] | "from System.Object" |
2 | 2 | [[#2d060620]] | "from AbcThing" |
2 | 3 | [[#2d060620]] | "from Foo" |
2 | 4 | [[#2d060620]] | "from Contact" |
2 | 5 | [[#2d060620]] | "from System.Object" |
2 | 6 | [[#2d060620]] | "from System.Object" |