CloneSet36


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000selection_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112878
InclusionConstraintGraph/Graph.h
212931
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
12
Source Line
878
Source File
InclusionConstraintGraph/Graph.h

                                                                if (path->collapse_into == NULL) {
                                                                        header_of_cycle->collapse_nodes->Add(path->node);
                                                                        path->collapse_into = header_of_cycle;
                                                                                                 }
                                                                else   if (path->collapse_into == header_of_cycle) {
                                                                                                                   }
                                                                       else
                                                                       if (path->collapse_into == path) {
                                                                        if (path != header_of_cycle) {
                                                                                header_of_cycle->collapse_nodes->Union(*path->collapse_nodes);
                                                                                path->collapse_nodes->Empty();
                                                                                path->collapse_into = header_of_cycle;
                                                                                                     }
                                                                                                        }
                                                                       else
                                                                       {
                                                                        path->collapse_into = header_of_cycle;
                                                                       }


Clone Instance
2
Line Count
12
Source Line
931
Source File
InclusionConstraintGraph/Graph.h

                                                                if (path->collapse_into == NULL) {
                                                                        header_of_cycle->collapse_nodes->Add(path->node);
                                                                        path->collapse_into = header_of_cycle;
                                                                                                 }
                                                                else   if (path->collapse_into == header_of_cycle) {
                                                                                                                   }
                                                                       else
                                                                       if (path->collapse_into == path) {
                                                                        if (path != header_of_cycle) {
                                                                            header_of_cycle->collapse_nodes->Union(*path->collapse_nodes);
                                                                                path->collapse_nodes->Empty();
                                                                                path->collapse_into = header_of_cycle;
                                                                                                     }
                                                                                                        }
                                                                       else
                                                                       {
                                                                        path->collapse_into = header_of_cycle;
                                                                       }


Clone AbstractionParameter Count: 0Parameter Bindings

if (path->collapse_into == NULL)
  {
    header_of_cycle->collapse_nodes->Add(path->node);
    path->collapse_into = header_of_cycle;
  }
else
  if (path->collapse_into == header_of_cycle)
    {
    }
  else
    if (path->collapse_into == path)
      {
        if (path != header_of_cycle)
          {
            header_of_cycle->collapse_nodes->Union(*path->collapse_nodes);
            path->collapse_nodes->Empty();
            path->collapse_into = header_of_cycle;
          }
      }
    else
      {
        path->collapse_into = header_of_cycle;
      }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None