CloneSet30


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.966iteration_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1173218
InclusionConstraintGraph/Graph.h
2173236
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
17
Source Line
3218
Source File
InclusionConstraintGraph/Graph.h

                        // mark named object nodes
                        do {
                                for (MapNamedEntitiesToNodes::Iterator iterator = m_named_objects_to_nodes.Begin(); iterator != m_named_objects_to_nodes.End(); ++iterator) {
                                        Node *node = iterator.GetNode();
                                        if (node->GetNodeNumber() == 0) {
                                                ContinueIfIsNotInTranslationUnit(iterator);
                                                #if !WRITE_BACK_CACHED_POINTED_TO_LOCATIONS
                                                        // mark transitive closure for named object node
                                                        MarkTransitiveClosureOfNodes(node, number_of_nodes);
                                                #else
                                                    // mark named object node
                                                        number_of_nodes++;
                                                        node->SetNodeNumber(number_of_nodes);
                                                        node->SetAuxiliaryBorder(Node::IsNotAuxiliaryBorder);
                                                #endif
                                                                        }
                                                                                                                                                                            }
                           }
                        while (  0);


Clone Instance
2
Line Count
17
Source Line
3236
Source File
InclusionConstraintGraph/Graph.h

                        // mark anonymous object nodes
                        do {
                                for (MapTrackingNumbersToNodes::Iterator iterator = m_anonymous_objects_to_nodes.Begin(); iterator != m_anonymous_objects_to_nodes.End(); ++iterator) {
                                        Node *node = iterator.GetNode();
                                        if (node->GetNodeNumber() == 0) {
                                                ContinueIfIsNotInTranslationUnit(iterator);
                                                #if !WRITE_BACK_CACHED_POINTED_TO_LOCATIONS
                                                        // mark transitive closure for anonymous object node
                                                        MarkTransitiveClosureOfNodes(node, number_of_nodes);
                                                #else
                                                    // mark anonymous object node
                                                        number_of_nodes++;
                                                        node->SetNodeNumber(number_of_nodes);
                                                        node->SetAuxiliaryBorder(Node::IsNotAuxiliaryBorder);
                                                #endif
                                                                        }
                                                                                                                                                                                      }
                           }
                        while (  0);


Clone AbstractionParameter Count: 2Parameter Bindings

// mark anonymous object nodes
// mark named object nodes
do
  {
    for ([[#variablea93e500]]::Iterator iterator = [[#variablea93e460]].Begin(); iterator != [[#variablea93e460]].End(); ++iterator)
      {
        Node * node = iterator.GetNode();
        if (node->GetNodeNumber() == 0)
          {
            ContinueIfIsNotInTranslationUnit(iterator);
            #if !WRITE_BACK_CACHED_POINTED_TO_LOCATIONS
              // mark transitive closure for anonymous object node
              // mark transitive closure for named object node
              MarkTransitiveClosureOfNodes(node, number_of_nodes);
            #else
              // mark anonymous object node
              // mark named object node
              number_of_nodes++;
              node->SetNodeNumber(number_of_nodes);
              node->SetAuxiliaryBorder(Node::IsNotAuxiliaryBorder);
            #endif
          }
      }
  }
while (0);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a93e500]]
MapTrackingNumbersToNodes 
12[[#a93e500]]
MapNamedEntitiesToNodes 
21[[#a93e460]]
m_anonymous_objects_to_nodes 
22[[#a93e460]]
m_named_objects_to_nodes