| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 8 | 3 | 0.960 | non_pp_embedded_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 294 | src/NHibernate.Test/Legacy/ABCProxyTest.cs |
| 2 | 6 | 57 | src/NHibernate.Test/NHSpecificTest/NH1179/Fixture.cs |
| 3 | 6 | 30 | src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs |
| 4 | 6 | 59 | src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs |
| 5 | 6 | 45 | src/NHibernate.Test/NHSpecificTest/NH1490/Fixture.cs |
| 6 | 6 | 33 | src/NHibernate.Test/NHSpecificTest/NH1706/KeyPropertyRefFixture.cs |
| 7 | 6 | 66 | src/NHibernate.Test/NHSpecificTest/NH1727/Fixture.cs |
| 8 | 6 | 11 | src/NHibernate.Test/NHSpecificTest/NH1959/Fixture.cs |
| ||||
using (ISession s = OpenSession())
using (ITransaction t = s.BeginTransaction())
{
s.Delete("from A");
s.Delete("from E");
t.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from MainClass");
s.Delete("from RelatedClass");
tx.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from CustomerNoSmart");
s.Delete("from Category");
tx.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from Customer");
s.Delete("from Category");
tx.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from Customer");
s.Delete("from Category");
tx.Commit();
}
|
| ||||
// cleanup
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from B");
s.Delete("from A");
tx.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction t = s.BeginTransaction())
{
s.Delete("from ClassB");
s.Delete("from ClassA");
t.Commit();
}
|
| ||||
using (ISession s = OpenSession())
using (ITransaction tx = s.BeginTransaction())
{
s.Delete("from ClassB");
s.Delete("from ClassA");
tx.Commit();
}
|
| |||
// cleanup
using (ISession s = OpenSession())
using (ITransaction [[#variable6e4d1ec0]]= s.BeginTransaction())
{
s.Delete( [[#variable6e4d1e20]]);
s.Delete( [[#variable6e4d1d60]]);
[[#variable6e4d1ec0]].Commit();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6e4d1ec0]] | tx |
| 1 | 2 | [[#6e4d1ec0]] | t |
| 1 | 3 | [[#6e4d1ec0]] | tx |
| 1 | 4 | [[#6e4d1ec0]] | tx |
| 1 | 5 | [[#6e4d1ec0]] | tx |
| 1 | 6 | [[#6e4d1ec0]] | tx |
| 1 | 7 | [[#6e4d1ec0]] | t |
| 1 | 8 | [[#6e4d1ec0]] | tx |
| 2 | 1 | [[#6e4d1e20]] | "from ClassB" |
| 2 | 2 | [[#6e4d1e20]] | "from ClassB" |
| 2 | 3 | [[#6e4d1e20]] | "from B" |
| 2 | 4 | [[#6e4d1e20]] | "from Customer" |
| 2 | 5 | [[#6e4d1e20]] | "from CustomerNoSmart" |
| 2 | 6 | [[#6e4d1e20]] | "from MainClass" |
| 2 | 7 | [[#6e4d1e20]] | "from A" |
| 2 | 8 | [[#6e4d1e20]] | "from Customer" |
| 3 | 1 | [[#6e4d1d60]] | "from ClassA" |
| 3 | 2 | [[#6e4d1d60]] | "from ClassA" |
| 3 | 3 | [[#6e4d1d60]] | "from A" |
| 3 | 4 | [[#6e4d1d60]] | "from Category" |
| 3 | 5 | [[#6e4d1d60]] | "from Category" |
| 3 | 6 | [[#6e4d1d60]] | "from RelatedClass" |
| 3 | 7 | [[#6e4d1d60]] | "from E" |
| 3 | 8 | [[#6e4d1d60]] | "from Category" |