Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 0 | 1.000 | statement_list[9] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1268 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 9 | 1403 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
IList fooBag = new ArrayList(); fooBag.Add(new Foo()); fooBag.Add(new Foo()); baz.FooBag = fooBag; s.Save(baz); s.Flush(); fooBag = baz.FooBag; s.CreateQuery("from Baz baz left join fetch baz.FooBag").List(); Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag)); |
| ||||
IList fooBag = new ArrayList(); fooBag.Add(new Foo()); fooBag.Add(new Foo()); baz.FooBag = fooBag; s.Save(baz); s.Flush(); fooBag = baz.FooBag; s.CreateQuery("from Baz baz left join fetch baz.FooBag").List(); Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag)); |
| |||
IList fooBag = new ArrayList(); fooBag.Add(new Foo()); fooBag.Add(new Foo()); baz.FooBag = fooBag; s.Save(baz); s.Flush(); fooBag = baz.FooBag; s.CreateQuery("from Baz baz left join fetch baz.FooBag").List(); Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |