CloneSet48


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

                                                                                        // collapse cycle if necessary
                                                                                        if (next_path.collapse_into == NULL) {
                                                                                                // node is not collapsed
                                                                                                node->SetOnPath(Node::IsNotOnPath);
                                                                                                return &cached_information;
                                                                                                                             }
                                                                                        else   if (next_path.collapse_into == &next_path) {
                                                                                                // node is collapsed with current node being head of cycle
                                                                                                // collapse cycle
                                                                                                node = CollapseNodes(*next_path.collapse_nodes);
                                                                                                // recollect data using collapsed node
                                                                                                                                          }
                                                                                               else
                                                                                               {
                                                                                                // node is collapsed with current node not being head of cycle
                                                                                                return NULL;
                                                                                               }


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

                                                                                // collapse cycle if necessary
                                                                                if (next_path.collapse_into == NULL) {
                                                                                        // node is not collapsed
                                                                                        node->SetOnPath(Node::IsNotOnPath);
                                                                                        return &cached_information;
                                                                                                                     }
                                                                                else   if (next_path.collapse_into == &next_path) {
                                                                                        // node is collapsed with current node being head of cycle
                                                                                        // collapse cycle
                                                                                        node = CollapseNodes(*next_path.collapse_nodes);
                                                                                        // recollect data using collapsed node
                                                                                                                                  }
                                                                                       else
                                                                                       {
                                                                                        // node is collapsed with current node not being head of cycle
                                                                                        return NULL;
                                                                                       }


Clone Instance
3
Line Count
12
Source Line
835
Source File
InclusionConstraintGraph/Graph.h

                                                                        // collapse cycle if necessary
                                                                        if (next_path.collapse_into == NULL) {
                                                                                // node is not collapsed
                                                                                node->SetOnPath(Node::IsNotOnPath);
                                                                                return &cached_information;
                                                                                                             }
                                                                        else   if (next_path.collapse_into == &next_path) {
                                                                                // node is collapsed with current node being head of cycle
                                                                                // collapse cycle
                                                                                node = CollapseNodes(*next_path.collapse_nodes);
                                                                                // recollect data using collapsed node
                                                                                                                          }
                                                                               else
                                                                               {
                                                                                // node is collapsed with current node not being head of cycle
                                                                                return NULL;
                                                                               }


Clone AbstractionParameter Count: 0Parameter Bindings

// collapse cycle if necessary
if (next_path.collapse_into == NULL)
  {
    // node is not collapsed
    node->SetOnPath(Node::IsNotOnPath);
    return &cached_information;
  }
else
  if (next_path.collapse_into == &next_path)
    {
      // node is collapsed with current node being head of cycle
      // collapse cycle
      node = CollapseNodes(*next_path.collapse_nodes);
    // recollect data using collapsed node
    }
  else
    {
      // node is collapsed with current node not being head of cycle
      return NULL;
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None