Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 1 | 0.977 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 24 | src/NHibernate/Criterion/ConditionalProjection.cs |
2 | 18 | 105 | src/NHibernate/Criterion/ConditionalProjection.cs |
| ||||
public override bool IsAggregate { get { IProjection[] projections = criterion.GetProjections(); if (projections != null) { foreach (IProjection projection in projections) { if (projection.IsAggregate) return true; } } if (whenFalse.IsAggregate) return true; if (whenTrue.IsAggregate) return true; return false; } } |
| ||||
public override bool IsGrouped { get { IProjection[] projections = criterion.GetProjections(); if (projections != null) { foreach (IProjection projection in projections) { if (projection.IsGrouped) return true; } } if (whenFalse.IsGrouped) return true; if (whenTrue.IsGrouped) return true; return false; } } |
| |||
public override bool [[#variable681f6140]] { get { IProjection[] projections = criterion.GetProjections(); if (projections != null) { foreach (IProjection projection in projections) { if (projection. [[#variable681f6140]]) return true; } } if (whenFalse. [[#variable681f6140]]) return true; if (whenTrue. [[#variable681f6140]]) return true; return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#681f6140]] | IsGrouped |
1 | 2 | [[#681f6140]] | IsAggregate |