Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.952 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 67 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
2 | 3 | 69 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
3 | 3 | 99 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
4 | 3 | 114 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
| ||||
CheckType("sum(a.AShort)", typeof(Int64)); CheckType("sum(a.AnInt)", typeof(Int64)); |
| ||||
CheckType("sum(a.ALong)", typeof(Int64)); CheckType("sum(a.AFloat)", typeof(Double)); |
| ||||
CheckType("min(a.ALong)", typeof(Int64)); CheckType("min(a.AFloat)", typeof(Single)); |
| ||||
CheckType("max(a.ALong)", typeof(Int64)); CheckType("max(a.AFloat)", typeof(Single)); |
| |||
CheckType( [[#variable287e0560]], typeof(Int64)); CheckType( [[#variable287e09e0]], typeof( [[#variable28a07460]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#287e0560]] | "sum(a.AShort)" |
1 | 2 | [[#287e0560]] | "sum(a.ALong)" |
1 | 3 | [[#287e0560]] | "min(a.ALong)" |
1 | 4 | [[#287e0560]] | "max(a.ALong)" |
2 | 1 | [[#287e09e0]] | "sum(a.AnInt)" |
2 | 2 | [[#287e09e0]] | "sum(a.AFloat)" |
2 | 3 | [[#287e09e0]] | "min(a.AFloat)" |
2 | 4 | [[#287e09e0]] | "max(a.AFloat)" |
3 | 1 | [[#28a07460]] | Int64 |
3 | 2 | [[#28a07460]] | Double |
3 | 3 | [[#28a07460]] | Single |
3 | 4 | [[#28a07460]] | Single |