Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 6 | 2 | 0.954 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 74 | src/NHibernate.Test/NHSpecificTest/ManyToOneFilters20Behaviour/Fixture.cs |
2 | 6 | 33 | src/NHibernate.Test/NHSpecificTest/NH1713/Fixture.cs |
3 | 6 | 45 | src/NHibernate.Test/NHSpecificTest/NH1713/Fixture.cs |
4 | 6 | 85 | src/NHibernate.Test/NHSpecificTest/NH1713/Fixture.cs |
5 | 6 | 37 | src/NHibernate.Test/NHSpecificTest/NH1776/FilterQueryTwiceFixture.cs |
6 | 6 | 36 | src/NHibernate.Test/NHSpecificTest/NH1812/Fixture.cs |
| ||||
using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Save(createParent()); tx.Commit(); } } |
| ||||
using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Save(item); tx.Commit(); } } |
| ||||
// cleanup using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Delete("from A"); tx.Commit(); } } |
| ||||
// cleanup using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Delete("from A"); tx.Commit(); } } |
| ||||
using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Save(c); tx.Commit(); } } |
| ||||
using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s.Delete("from Person"); tx.Commit(); } } |
| |||
// cleanup using (ISession s = OpenSession()) { using (ITransaction tx = s.BeginTransaction()) { s. [[#variable70af48c0]]( [[#variable70b34b00]]); tx.Commit(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70af48c0]] | Delete |
1 | 2 | [[#70af48c0]] | Save |
1 | 3 | [[#70af48c0]] | Save |
1 | 4 | [[#70af48c0]] | Delete |
1 | 5 | [[#70af48c0]] | Save |
1 | 6 | [[#70af48c0]] | Delete |
2 | 1 | [[#70b34b00]] | "from Person" |
2 | 2 | [[#70b34b00]] | c |
2 | 3 | [[#70b34b00]] | item |
2 | 4 | [[#70b34b00]] | "from A" |
2 | 5 | [[#70b34b00]] | createParent() |
2 | 6 | [[#70b34b00]] | "from A" |