Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 47 | src/NHibernate.Test/Stats/SessionStatsFixture.cs |
2 | 8 | 57 | src/NHibernate.Test/Stats/SessionStatsFixture.cs |
| ||||
using (ISession s = OpenSession()) { IList list = s.CreateCriteria( typeof( Country)). Add (Restrictions.Eq("Name", "Narnia")). SetCacheable(true). List(); Assert.AreEqual(0, list.Count); } |
| ||||
using (ISession s = OpenSession()) { IList list = s.CreateCriteria( typeof(Country)). Add (Restrictions.Eq("Name", "Narnia")). SetCacheable(true). List(); Assert.AreEqual(0, list.Count); } |
| |||
using (ISession s = OpenSession()) { IList list = s.CreateCriteria( typeof(Country)).Add(Restrictions.Eq("Name", "Narnia")).SetCacheable(true).List(); Assert.AreEqual(0, list.Count); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |