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 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 67 | src/NHibernate.Test/Unconstrained/UnconstrainedNoLazyTest.cs |
2 | 8 | 80 | src/NHibernate.Test/Unconstrained/UnconstrainedNoLazyTest.cs |
| ||||
sessions.Evict( typeof(Person)); session = OpenSession(); tx = session.BeginTransaction(); p = (Person) session.CreateCriteria( typeof(Person)). SetFetchMode("Employee", FetchMode.Join). Add(Expression.Eq("Name", "gavin")). UniqueResult(); |
| ||||
sessions.Evict( typeof(Person)); session = OpenSession(); tx = session.BeginTransaction(); p = (Person) session.CreateCriteria( typeof(Person)). SetFetchMode("Employee", FetchMode.Join). Add(Expression.Eq("Name", "gavin")). UniqueResult(); |
| |||
sessions.Evict( typeof(Person)); session = OpenSession(); tx = session.BeginTransaction(); p = (Person)session.CreateCriteria( typeof(Person)).SetFetchMode("Employee", FetchMode.Join).Add(Expression.Eq("Name", "gavin")).UniqueResult(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |