Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 2 | 0.969 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 93 | src/NHibernate/Criterion/Projections.cs |
2 | 13 | 114 | src/NHibernate/Criterion/Projections.cs |
3 | 13 | 154 | src/NHibernate/Criterion/Projections.cs |
| ||||
/// <summary> /// A property maximum value /// </summary> /// <param name="propertyName"></param> /// <returns></returns> public static AggregateProjection Max(String propertyName) { return new AggregateProjection("max", propertyName); } /// <summary> /// A projection maximum value /// </summary> /// <param name="projection"></param> /// <returns></returns> public static AggregateProjection Max(IProjection projection) { return new AggregateProjection("max", projection); } |
| ||||
/// <summary> /// A property minimum value /// </summary> /// <param name="propertyName"></param> /// <returns></returns> public static AggregateProjection Min(String propertyName) { return new AggregateProjection("min", propertyName); } /// <summary> /// A projection minimum value /// </summary> /// <param name="projection"></param> /// <returns></returns> public static AggregateProjection Min(IProjection projection) { return new AggregateProjection("min", projection); } |
| ||||
/// <summary> /// A property value sum /// </summary> /// <param name="propertyName"></param> /// <returns></returns> public static AggregateProjection Sum(String propertyName) { return new AggregateProjection("sum", propertyName); } /// <summary> /// A property value sum /// </summary> /// <param name="projection"></param> /// <returns></returns> public static AggregateProjection Sum(IProjection projection) { return new AggregateProjection("sum", projection); } |
| |||
/// <summary> /// A property maximum value /// A property minimum value /// A property value sum /// </summary> /// <param name="propertyName"></param> /// <returns></returns> public static AggregateProjection [[#variable54b59820]](String propertyName) { return new AggregateProjection( [[#variable298fce00]], propertyName); } /// <summary> /// A projection maximum value /// A projection minimum value /// A property value sum /// </summary> /// <param name="projection"></param> /// <returns></returns> public static AggregateProjection [[#variable54b59820]](IProjection projection) { return new AggregateProjection( [[#variable298fce00]], projection); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b59820]] | Max |
1 | 2 | [[#54b59820]] | Min |
1 | 3 | [[#54b59820]] | Sum |
2 | 1 | [[#298fce00]] | "max" |
2 | 2 | [[#298fce00]] | "min" |
2 | 3 | [[#298fce00]] | "sum" |