CloneSet22


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16210.991statement_seq[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1162125
InclusionConstraintGraph/Graph.h
2162146
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
16
Source Line
2125
Source File
InclusionConstraintGraph/Graph.h

                                                                        // create function node
                                                                        map_node_number_to_node[node_number].node = m_named_functions_to_nodes(translation_unit, symbol_space, name);
                                                                        if (map_node_number_to_node[node_number].node == NULL) {
                                                                                map_node_number_to_node[node_number].node = Node::CreateFunctionNode(scope, declaration_or_definition, Node::IsMarked);
                                                                                m_named_functions_to_nodes.Add(translation_unit, symbol_space, name, map_node_number_to_node[node_number].node, tracking_number);
                                                                                                                               }
                                                                        else   {
                                                                                switch (declaration_or_definition) {
                                                                                        case Node::IsDefinition: {
                                                                                                map_node_number_to_node[node_number].node->SetDeclarationOrDefinition(Node::IsDefinition);
                                                                                                break;
                                                                                                                 }
                                                                                        case Node::IsDeclaration: {
                                                                                                break;
                                                                                                                  }
                                                                                        default: {
                                                                                                assert(0);
                                                                                                break;
                                                                                                 }
                                                                                                                   }
                                                                               }


Clone Instance
2
Line Count
16
Source Line
2146
Source File
InclusionConstraintGraph/Graph.h

                                                                        // create function node
                                                                        map_node_number_to_node[node_number].node = m_named_functions_to_nodes(translation_unit, symbol_space, name);
                                                                        if (map_node_number_to_node[node_number].node == NULL) {
                                                                                map_node_number_to_node[node_number].node = Node::CreateFunctionNode(scope, declaration_or_definition, Node::IsMarked);
                                                                                m_named_functions_to_nodes.Add(translation_unit, symbol_space, name, map_node_number_to_node[node_number].node, 0);
                                                                                                                               }
                                                                        else   {
                                                                                switch (declaration_or_definition) {
                                                                                        case Node::IsDefinition: {
                                                                                                map_node_number_to_node[node_number].node->SetDeclarationOrDefinition(Node::IsDefinition);
                                                                                                break;
                                                                                                                 }
                                                                                        case Node::IsDeclaration: {
                                                                                                break;
                                                                                                                  }
                                                                                        default: {
                                                                                                assert(0);
                                                                                                break;
                                                                                                 }
                                                                                                                   }
                                                                               }


Clone AbstractionParameter Count: 1Parameter Bindings

// create function node
map_node_number_to_node[node_number].node = m_named_functions_to_nodes(translation_unit, symbol_space, name);
if (map_node_number_to_node[node_number].node == NULL)
  {
    map_node_number_to_node[node_number].node = Node::CreateFunctionNode(scope, declaration_or_definition, Node::IsMarked);
    m_named_functions_to_nodes.Add(translation_unit, symbol_space, name, map_node_number_to_node[node_number].node, [[#variablea92c240]]);
  }
else
  {
    switch (declaration_or_definition)
      {
        case Node::IsDefinition:
          {
            map_node_number_to_node[node_number].node->SetDeclarationOrDefinition(Node::IsDefinition);
            break;
          }
        case Node::IsDeclaration:
          {
            break;
          }
        default:
          {
            assert(0);
            break;
          }
      }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a92c240]]
tracking_number 
12[[#a92c240]]
0