| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.990 | non_pp_embedded_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 58 | src/NHibernate.Test/NHSpecificTest/NH1178/Fixture.cs |
| 2 | 5 | 65 | src/NHibernate.Test/NHSpecificTest/NH1178/Fixture.cs |
| ||||
using (ISession s = OpenSession())
{
Example example = Example.Create(new Foo(1000, "mono")).ExcludeZeroes().ExcludeNulls();
IList results = s.CreateCriteria( typeof( Foo)).Add(example).List();
Assert.AreEqual(1, results.Count);
}
|
| ||||
using (ISession s = OpenSession())
{
Example example = Example.Create(new Foo(1000, "mono")).ExcludeNulls().ExcludeZeroes();
IList results = s.CreateCriteria( typeof( Foo)).Add(example).List();
Assert.AreEqual(1, results.Count);
}
|
| |||
using (ISession s = OpenSession())
{
Example example = Example.Create(new Foo(1000, "mono")). [[#variable2bc17fa0]](). [[#variable2bc17f40]]();
IList results = s.CreateCriteria( typeof(Foo)).Add(example).List();
Assert.AreEqual(1, results.Count);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2bc17fa0]] | ExcludeZeroes |
| 1 | 2 | [[#2bc17fa0]] | ExcludeNulls |
| 2 | 1 | [[#2bc17f40]] | ExcludeNulls |
| 2 | 2 | [[#2bc17f40]] | ExcludeZeroes |