Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 4 | 0.953 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 3306 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 2 | 3325 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 2 | 3344 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
list2 = s.CreateQuery( "select bar from bar in class NHibernate.DomainModel.Bar, foo in class NHibernate.DomainModel.Foo where bar.String = foo.String and not bar=foo"). List(); Assert.AreEqual(2, list1.Count, "class special property"); |
| ||||
list2 = s.CreateQuery("select foo from foo in class NHibernate.DomainModel.Foo").List(); Assert.AreEqual(5, list2.Count, "find count"); |
| ||||
list2 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List(); Assert.AreEqual(0, list2.Count, "find deleted"); |
| |||
list2 = s.CreateQuery( [[#variable45ef6760]]).List(); Assert.AreEqual( [[#variable45ef6780]], [[#variable2da59d40]].Count, [[#variable45ef66c0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#45ef6760]] | "from foo in class NHibernate.DomainModel.Foo" |
1 | 2 | [[#45ef6760]] | "select foo from foo in class NHibernate.DomainModel.Foo" |
1 | 3 | [[#45ef6760]] | "select bar from bar in class NHibernate.DomainModel.Bar, foo in class NHibernate.DomainModel.Foo where bar.String = foo.String and not bar=foo" |
2 | 1 | [[#45ef6780]] | 0 |
2 | 2 | [[#45ef6780]] | 5 |
2 | 3 | [[#45ef6780]] | 2 |
3 | 1 | [[#2da59d40]] | list2 |
3 | 2 | [[#2da59d40]] | list2 |
3 | 3 | [[#2da59d40]] | list1 |
4 | 1 | [[#45ef66c0]] | "find deleted" |
4 | 2 | [[#45ef66c0]] | "find count" |
4 | 3 | [[#45ef66c0]] | "class special property" |