Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.965 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 3300 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 3 | 3302 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 2 | 3321 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
list1 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.class='B'").List(); Assert.AreEqual(2, list1.Count, "class special property"); |
| ||||
list1 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.class=NHibernate.DomainModel.Bar").List(); Assert.AreEqual(2, list1.Count, "class special property"); |
| ||||
list1 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.String='foo bar'").List(); Assert.AreEqual(1, list1.Count, "find count"); |
| |||
list1 = s.CreateQuery( [[#variable2da58f40]]).List(); Assert.AreEqual( [[#variable2c79a740]], list1.Count, [[#variable2da595e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2da58f40]] | "from foo in class NHibernate.DomainModel.Foo where foo.String='foo bar'" |
1 | 2 | [[#2da58f40]] | "from foo in class NHibernate.DomainModel.Foo where foo.class=NHibernate.DomainModel.Bar" |
1 | 3 | [[#2da58f40]] | "from foo in class NHibernate.DomainModel.Foo where foo.class='B'" |
2 | 1 | [[#2c79a740]] | 1 |
2 | 2 | [[#2c79a740]] | 2 |
2 | 3 | [[#2c79a740]] | 2 |
3 | 1 | [[#2da595e0]] | "find count" |
3 | 2 | [[#2da595e0]] | "class special property" |
3 | 3 | [[#2da595e0]] | "class special property" |