Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.962 | selection_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1858 | InclusionConstraintGraph/Graph.h |
2 | 17 | 2249 | InclusionConstraintGraph/Graph.h |
| ||||
// check for tracking number if (file[position] == L':') { position++; // get tracking number unsigned long tracking_number; GetNumber(tracking_number); // create temporary node map_node_number_to_node[node_number].node = m_temporaries_to_nodes(translation_unit, tracking_number); if (map_node_number_to_node[node_number].node == NULL) { map_node_number_to_node[node_number].node = Node::CreateTemporaryNode(Node::IsMarked); #if PRESERVE_NODE_DESCRIPTIONS m_temporaries_to_nodes.Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node, description); #else m_temporaries_to_nodes.Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node); #endif } } else { assert(0); } |
| ||||
// check for tracking number if (file[position] == L':') { position++; // get tracking number unsigned long tracking_number; GetNumber(tracking_number); // create indirect call node map_node_number_to_node[node_number].node = m_indirect_calls_to_nodes(translation_unit, tracking_number); if (map_node_number_to_node[node_number].node == NULL) { map_node_number_to_node[node_number].node = Node::CreateIndirectCallNode(Node::IsMarked); #if PRESERVE_NODE_DESCRIPTIONS m_indirect_calls_to_nodes.Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node, description); #else m_indirect_calls_to_nodes.Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node); #endif } } else { assert(0); } |
| |||
// check for tracking number if (file[position] == L':') { position++; // get tracking number unsigned long tracking_number; GetNumber(tracking_number); // create temporary node // create indirect call node map_node_number_to_node[node_number].node = [[#variablea92d820]](translation_unit, tracking_number); if (map_node_number_to_node[node_number].node == NULL) { map_node_number_to_node[node_number].node = Node::[[#variablea92d800]](Node::IsMarked); #if PRESERVE_NODE_DESCRIPTIONS [[#variablea92d820]].Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node, description); #else [[#variablea92d820]].Add(translation_unit, tracking_number, map_node_number_to_node[node_number].node); #endif } } else { assert(0); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a92d820]] | m_temporaries_to_nodes |
1 | 2 | [[#a92d820]] | m_indirect_calls_to_nodes |
2 | 1 | [[#a92d800]] | CreateTemporaryNode |
2 | 2 | [[#a92d800]] | CreateIndirectCallNode |