Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 1 | 0.991 | statement_seq[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 2125 | InclusionConstraintGraph/Graph.h |
2 | 16 | 2146 | 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; } } } |
| ||||
// 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; } } } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a92c240]] | tracking_number |
1 | 2 | [[#a92c240]] | 0 |