CloneSet907


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.977class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11824
src/NHibernate/Criterion/ConditionalProjection.cs
218105
src/NHibernate/Criterion/ConditionalProjection.cs
Clone Instance
1
Line Count
18
Source Line
24
Source File
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;
                        }
                }



Clone Instance
2
Line Count
18
Source Line
105
Source File
src/NHibernate/Criterion/ConditionalProjection.cs

                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;
                        }
                }



Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#681f6140]]
IsGrouped 
12[[#681f6140]]
IsAggregate