Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.985 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 514 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
2 | 4 | 519 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
| ||||
filter = s.CreateFilter(master.Details, "select max(this.I) group by this.id"); enumer = filter.Enumerable().GetEnumerator(); Assert.IsTrue(enumer.MoveNext()); Assert.IsTrue(enumer.Current is Int32); |
| ||||
filter = s.CreateFilter(master.Details, "select count(*)"); enumer = filter.Enumerable().GetEnumerator(); Assert.IsTrue(enumer.MoveNext()); Assert.IsTrue(enumer.Current is Int64); |
| |||
filter = s.CreateFilter(master.Details, [[#variable2d37f120]]); enumer = filter.Enumerable().GetEnumerator(); Assert.IsTrue(enumer.MoveNext()); Assert.IsTrue(enumer.Current is [[#variable2d594160]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d37f120]] | "select count(*)" |
1 | 2 | [[#2d37f120]] | "select max(this.I) group by this.id" |
2 | 1 | [[#2d594160]] | Int64 |
2 | 2 | [[#2d594160]] | Int32 |