Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 2 | 0.974 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 471 | src/NHibernate.Test/Join/JoinTest.cs |
2 | 2 | 68 | src/NHibernate.Test/Legacy/ABCProxyTest.cs |
3 | 2 | 2473 | src/NHibernate.Test/Legacy/FooBarTest.cs |
4 | 2 | 147 | src/NHibernate.Test/Subclass/SubclassFixture.cs |
| ||||
IList list = s.CreateQuery("from Person").List(); Assert.AreEqual(0, list.Count); |
| ||||
IList list = s.CreateQuery("from B").List(); Assert.AreEqual(2, list.Count); |
| ||||
IList list = s.CreateQuery("select new Result(foo.String, foo.Long, foo.Integer) from foo in class Foo").List(); Assert.AreEqual(2, list.Count); |
| ||||
IList list = s.CreateQuery("from SubclassBase as sb where sb.class=SubclassBase").List(); Assert.AreEqual(1, list.Count); |
| |||
IList list = s.CreateQuery( [[#variable5eb61420]]).List(); Assert.AreEqual( [[#variable583ae880]], list.Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb61420]] | "from SubclassBase as sb where sb.class=SubclassBase" |
1 | 2 | [[#5eb61420]] | "select new Result(foo.String, foo.Long, foo.Integer) from foo in class Foo" |
1 | 3 | [[#5eb61420]] | "from B" |
1 | 4 | [[#5eb61420]] | "from Person" |
2 | 1 | [[#583ae880]] | 1 |
2 | 2 | [[#583ae880]] | 2 |
2 | 3 | [[#583ae880]] | 2 |
2 | 4 | [[#583ae880]] | 0 |