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.966 | iteration_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 3218 | InclusionConstraintGraph/Graph.h |
2 | 17 | 3236 | 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); |
| ||||
// 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); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a93e500]] | MapTrackingNumbersToNodes |
1 | 2 | [[#a93e500]] | MapNamedEntitiesToNodes |
2 | 1 | [[#a93e460]] | m_anonymous_objects_to_nodes |
2 | 2 | [[#a93e460]] | m_named_objects_to_nodes |