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 | 26 | src/NHibernate.Test/BulkManipulation/NativeSQLBulkOperations.cs |
2 | 2 | 338 | src/NHibernate.Test/Legacy/ABCProxyTest.cs |
3 | 2 | 364 | src/NHibernate.Test/Legacy/ABCProxyTest.cs |
4 | 2 | 3178 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
IList l = s.CreateQuery("from Vehicle").List(); Assert.AreEqual(4, l.Count); |
| ||||
IList l = s.CreateQuery("from E e").List(); Assert.AreEqual(2, l.Count); |
| ||||
IList l = s.CreateQuery("from E e").List(); Assert.AreEqual(0, l.Count); |
| ||||
IList l = s.CreateQuery("from q in class NHibernate.DomainModel.Qux").List(); Assert.AreEqual(5, l.Count); |
| |||
IList l = s.CreateQuery( [[#variable2723f780]]).List(); Assert.AreEqual( [[#variable290cfba0]], l.Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2723f780]] | "from E e" |
1 | 2 | [[#2723f780]] | "from q in class NHibernate.DomainModel.Qux" |
1 | 3 | [[#2723f780]] | "from Vehicle" |
1 | 4 | [[#2723f780]] | "from E e" |
2 | 1 | [[#290cfba0]] | 2 |
2 | 2 | [[#290cfba0]] | 5 |
2 | 3 | [[#290cfba0]] | 4 |
2 | 4 | [[#290cfba0]] | 0 |