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.961 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 19 | src/NHibernate.Test/NHSpecificTest/NH1492/Fixture.cs |
2 | 6 | 17 | src/NHibernate.Test/NHSpecificTest/NH1706/KeyPropertyRefFixture.cs |
3 | 6 | 26 | src/NHibernate.Test/NHSpecificTest/NH467/Fixture.cs |
| ||||
// Make "Deleted" entity persistent using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.Save(eDel); s.Save(eGood); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Save(a); s.Save(b); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.Save(inactive); s.Save(employee); t.Commit(); } |
| |||
// Make "Deleted" entity persistent using (ISession s = OpenSession()) using (ITransaction [[#variable5f72e560]]= s.BeginTransaction()) { s.Save( [[#variable5f72e540]]); s.Save( [[#variable5f72e4c0]]); [[#variable5f72e560]].Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f72e560]] | t |
1 | 2 | [[#5f72e560]] | tx |
1 | 3 | [[#5f72e560]] | t |
2 | 1 | [[#5f72e540]] | inactive |
2 | 2 | [[#5f72e540]] | a |
2 | 3 | [[#5f72e540]] | eDel |
3 | 1 | [[#5f72e4c0]] | employee |
3 | 2 | [[#5f72e4c0]] | b |
3 | 3 | [[#5f72e4c0]] | eGood |