CloneSet20


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7401.000statement_seq[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173109
InclusionConstraintGraph/Graph.h
273121
InclusionConstraintGraph/Graph.h
373140
InclusionConstraintGraph/Graph.h
473163
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
7
Source Line
3109
Source File
InclusionConstraintGraph/Graph.h

                                                // follow collapse-to relationship
                                                if (node->DoesCollapse()) {
                                                        MarkTransitiveClosureOfNodes(node->Collapse(), number_of_nodes);
                                                                          }
                                                // follow inclusion constraints
                                                const SetOfNodes &inclusion_constraints = node->GetInclusionConstraints();
                                                for (std::size_t ic=0; ic <inclusion_constraints.Size();ic++) {
                                                        MarkTransitiveClosureOfNodes(inclusion_constraints[ic], number_of_nodes);
                                                                                                              }


Clone Instance
2
Line Count
7
Source Line
3121
Source File
InclusionConstraintGraph/Graph.h

                                                // follow collapse-to relationship
                                                if (node->DoesCollapse()) {
                                                        MarkTransitiveClosureOfNodes(node->Collapse(), number_of_nodes);
                                                                          }
                                                // follow inclusion constraints
                                                const SetOfNodes &inclusion_constraints = node->GetInclusionConstraints();
                                                for (std::size_t ic=0; ic <inclusion_constraints.Size();ic++) {
                                                        MarkTransitiveClosureOfNodes(inclusion_constraints[ic], number_of_nodes);
                                                                                                              }


Clone Instance
3
Line Count
7
Source Line
3140
Source File
InclusionConstraintGraph/Graph.h

                                                // follow collapse-to relationship
                                                if (node->DoesCollapse()) {
                                                        MarkTransitiveClosureOfNodes(node->Collapse(), number_of_nodes);
                                                                          }
                                                // follow inclusion constraints
                                                const SetOfNodes &inclusion_constraints = node->GetInclusionConstraints();
                                                for (std::size_t ic=0; ic <inclusion_constraints.Size();ic++) {
                                                        MarkTransitiveClosureOfNodes(inclusion_constraints[ic], number_of_nodes);
                                                                                                              }


Clone Instance
4
Line Count
7
Source Line
3163
Source File
InclusionConstraintGraph/Graph.h

                                                // follow collapse-to relationship
                                                if (node->DoesCollapse()) {
                                                        MarkTransitiveClosureOfNodes(node->Collapse(), number_of_nodes);
                                                                          }
                                                // follow inclusion constraints
                                                const SetOfNodes &inclusion_constraints = node->GetInclusionConstraints();
                                                for (std::size_t ic=0; ic <inclusion_constraints.Size();ic++) {
                                                        MarkTransitiveClosureOfNodes(inclusion_constraints[ic], number_of_nodes);
                                                                                                              }


Clone AbstractionParameter Count: 0Parameter Bindings

// follow collapse-to relationship
if (node->DoesCollapse())
  {
    MarkTransitiveClosureOfNodes(node->Collapse(), number_of_nodes);
  }
// follow inclusion constraints
const SetOfNodes &inclusion_constraints = node->GetInclusionConstraints();
for (std::size_t ic = 0; ic < inclusion_constraints.Size(); ic++)
  {
    MarkTransitiveClosureOfNodes(inclusion_constraints[ic], number_of_nodes);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None