Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 3 | 0.959 | statement_seq[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 3546 | InclusionConstraintGraph/Graph.h |
2 | 21 | 3568 | InclusionConstraintGraph/Graph.h |
| ||||
// mark cached pointed-to nodes for temporaries do { for (MapTrackingNumbersToNodes::Iterator iterator = m_temporaries_to_nodes.Begin(); iterator != m_temporaries_to_nodes.End(); ++iterator) { Node *node = iterator.GetNode(); if ( (node->GetNodeNumber() != 0) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while ( 0); // mark cached pointed-to nodes for named objects 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) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while ( 0); |
| ||||
// mark cached pointed-to nodes for anonymous objects 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) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while ( 0); // mark cached pointed-to nodes for indirect calls do { for (MapTrackingNumbersToNodes::Iterator iterator = m_indirect_calls_to_nodes.Begin(); iterator != m_indirect_calls_to_nodes.End(); ++iterator) { Node *node = iterator.GetNode(); if ( (node->GetNodeNumber() != 0) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while ( 0); |
| |||
// mark cached pointed-to nodes for temporaries // mark cached pointed-to nodes for anonymous objects do { for (MapTrackingNumbersToNodes::Iterator iterator = [[#variablea924ee0]].Begin(); iterator != [[#variablea924ee0]].End(); ++iterator) { Node * node = iterator.GetNode(); if ((node->GetNodeNumber() != 0) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while (0); // mark cached pointed-to nodes for named objects // mark cached pointed-to nodes for indirect calls do { for ([[#variablea9240a0]]::Iterator iterator = [[#variablea924e60]].Begin(); iterator != [[#variablea924e60]].End(); ++iterator) { Node * node = iterator.GetNode(); if ((node->GetNodeNumber() != 0) // node is marked? && (node->GetAuxiliaryBorder() != Node::IsAuxiliaryBorder) // node is not just a pointed-to node? ) { MarkCachedPointedToLocations(node); } } } while (0); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a924ee0]] | m_temporaries_to_nodes |
1 | 2 | [[#a924ee0]] | m_anonymous_objects_to_nodes |
2 | 1 | [[#a9240a0]] | MapNamedEntitiesToNodes |
2 | 2 | [[#a9240a0]] | MapTrackingNumbersToNodes |
3 | 1 | [[#a924e60]] | m_named_objects_to_nodes |
3 | 2 | [[#a924e60]] | m_indirect_calls_to_nodes |