Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.974 | statement_seq[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 114 | InclusionConstraintGraph/Graph.h |
2 | 10 | 126 | InclusionConstraintGraph/Graph.h |
| ||||
do { const SetOfNodes *inclusion_constraints = direct_nodes_to_indirect_nodes.Lookup(node); if (inclusion_constraints != NULL) { for (std::size_t ic=0; ic <inclusion_constraints->Size();ic++) { Node *node = (*inclusion_constraints)[ic]->TransitivelyCollapse(); DetectIndirectCycles(cache, indirect_nodes_to_direct_nodes, direct_nodes_to_indirect_nodes, node, MapOptionalIndirectNodesToVisitInformation::Indirect, &next_path); } } } while ( 0); break; |
| ||||
do { const SetOfNodes *inclusion_constraints = indirect_nodes_to_direct_nodes.Lookup(node); if (inclusion_constraints != NULL) { for (std::size_t ic=0; ic <inclusion_constraints->Size();ic++) { Node *node = (*inclusion_constraints)[ic]->TransitivelyCollapse(); DetectIndirectCycles(cache, indirect_nodes_to_direct_nodes, direct_nodes_to_indirect_nodes, node, MapOptionalIndirectNodesToVisitInformation::Direct, &next_path); } } } while ( 0); break; |
| |||
do { const SetOfNodes *inclusion_constraints = [[#variablea94a020]].Lookup(node); if (inclusion_constraints != NULL) { for (std::size_t ic = 0; ic < inclusion_constraints->Size(); ic++) { Node * node = (*inclusion_constraints)[ic]->TransitivelyCollapse(); DetectIndirectCycles(cache, indirect_nodes_to_direct_nodes, direct_nodes_to_indirect_nodes, node, MapOptionalIndirectNodesToVisitInformation::[[#variablea949fa0]], &next_path); } } } while (0); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a94a020]] | indirect_nodes_to_direct_nodes |
1 | 2 | [[#a94a020]] | direct_nodes_to_indirect_nodes |
2 | 1 | [[#a949fa0]] | Direct |
2 | 2 | [[#a949fa0]] | Indirect |