| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 3 | 2 | 0.970 | non_pp_embedded_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 1849 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| 2 | 3 | 5575 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| 3 | 3 | 32 | src/NHibernate.Test/NHSpecificTest/NH440/Fixture.cs |
| ||||
for (int i = 0; i < 10; i++)
{
s.Save(new Foo());
}
|
| ||||
for (int i = 0; i < 10; i++)
{
s.Save(new Foo());
}
|
| ||||
// pump up the ids for one of the classes to avoid the tests passing coincidentally
for (int i = 0; i < 10; i++)
{
session.Save(new Fruit());
}
|
| |||
// pump up the ids for one of the classes to avoid the tests passing coincidentally
for (int i = 0; i < 10; i++)
{
[[#variable56b30540]].Save(new [[#variable54b443a0]]());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#56b30540]] | s |
| 1 | 2 | [[#56b30540]] | session |
| 1 | 3 | [[#56b30540]] | s |
| 2 | 1 | [[#54b443a0]] | Foo |
| 2 | 2 | [[#54b443a0]] | Fruit |
| 2 | 3 | [[#54b443a0]] | Foo |