| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 15 | 2 | 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/NH1280/NH1280Fixture.cs |
| 2 | 6 | 33 | src/NHibernate.Test/NHSpecificTest/NH1356/Fixture.cs |
| 3 | 6 | 22 | src/NHibernate.Test/NHSpecificTest/NH1359/Fixture.cs |
| 4 | 6 | 14 | src/NHibernate.Test/NHSpecificTest/NH1393/Fixture.cs |
| 5 | 6 | 16 | src/NHibernate.Test/NHSpecificTest/NH1394/Fixture.cs |
| 6 | 6 | 14 | src/NHibernate.Test/NHSpecificTest/NH1447/Fixture.cs |
| 7 | 6 | 15 | src/NHibernate.Test/NHSpecificTest/NH1478/Fixture.cs |
| 8 | 6 | 15 | src/NHibernate.Test/NHSpecificTest/NH1502/Fixture.cs |
| 9 | 6 | 15 | src/NHibernate.Test/NHSpecificTest/NH1533/Fixture.cs |
| 10 | 6 | 21 | src/NHibernate.Test/NHSpecificTest/NH1579/NH1579Fixture.cs |
| 11 | 6 | 38 | src/NHibernate.Test/NHSpecificTest/NH1579/NH1579Fixture.cs |
| 12 | 6 | 149 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| 13 | 6 | 216 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| 14 | 6 | 310 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| 15 | 6 | 30 | src/NHibernate.Test/NHSpecificTest/NH1640/Fixture.cs |
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Person");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Save(cart);
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("FROM Entity");
tx.Commit();
}
}
|
| ||||
// Ensure country is saved and session cache is empty to force from now on the reload of all
// persistence objects from the database.
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Save(country);
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Save(area);
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Country");
tx.Commit();
}
}
|
| ||||
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session.Delete("from Entity");
tx.Commit();
}
}
|
| |||
// Ensure country is saved and session cache is empty to force from now on the reload of all
// persistence objects from the database.
using (ISession session = OpenSession())
{
using (ITransaction tx = session.BeginTransaction())
{
session. [[#variable57d08aa0]]( [[#variable57d08a40]]);
tx.Commit();
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#57d08aa0]] | Delete |
| 1 | 2 | [[#57d08aa0]] | Delete |
| 1 | 3 | [[#57d08aa0]] | Save |
| 1 | 4 | [[#57d08aa0]] | Delete |
| 1 | 5 | [[#57d08aa0]] | Save |
| 1 | 6 | [[#57d08aa0]] | Save |
| 1 | 7 | [[#57d08aa0]] | Delete |
| 1 | 8 | [[#57d08aa0]] | Delete |
| 1 | 9 | [[#57d08aa0]] | Delete |
| 1 | 10 | [[#57d08aa0]] | Delete |
| 1 | 11 | [[#57d08aa0]] | Delete |
| 1 | 12 | [[#57d08aa0]] | Delete |
| 1 | 13 | [[#57d08aa0]] | Delete |
| 1 | 14 | [[#57d08aa0]] | Delete |
| 1 | 15 | [[#57d08aa0]] | Delete |
| 2 | 1 | [[#57d08a40]] | "from Person" |
| 2 | 2 | [[#57d08a40]] | "FROM Entity" |
| 2 | 3 | [[#57d08a40]] | cart |
| 2 | 4 | [[#57d08a40]] | "from Country" |
| 2 | 5 | [[#57d08a40]] | area |
| 2 | 6 | [[#57d08a40]] | country |
| 2 | 7 | [[#57d08a40]] | "from Entity" |
| 2 | 8 | [[#57d08a40]] | "from Person" |
| 2 | 9 | [[#57d08a40]] | "from Person" |
| 2 | 10 | [[#57d08a40]] | "from Person" |
| 2 | 11 | [[#57d08a40]] | "from Person" |
| 2 | 12 | [[#57d08a40]] | "from Person" |
| 2 | 13 | [[#57d08a40]] | "from Person" |
| 2 | 14 | [[#57d08a40]] | "from Person" |
| 2 | 15 | [[#57d08a40]] | "from Person" |