Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 0 | 1.000 | selection_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 688 | InclusionConstraintGraph/Graph.h |
2 | 12 | 753 | InclusionConstraintGraph/Graph.h |
3 | 12 | 835 | InclusionConstraintGraph/Graph.h |
| ||||
// collapse cycle if necessary if (next_path.collapse_into == NULL) { // node is not collapsed node->SetOnPath(Node::IsNotOnPath); return &cached_information; } else if (next_path.collapse_into == &next_path) { // node is collapsed with current node being head of cycle // collapse cycle node = CollapseNodes(*next_path.collapse_nodes); // recollect data using collapsed node } else { // node is collapsed with current node not being head of cycle return NULL; } |
| ||||
// collapse cycle if necessary if (next_path.collapse_into == NULL) { // node is not collapsed node->SetOnPath(Node::IsNotOnPath); return &cached_information; } else if (next_path.collapse_into == &next_path) { // node is collapsed with current node being head of cycle // collapse cycle node = CollapseNodes(*next_path.collapse_nodes); // recollect data using collapsed node } else { // node is collapsed with current node not being head of cycle return NULL; } |
| ||||
// collapse cycle if necessary if (next_path.collapse_into == NULL) { // node is not collapsed node->SetOnPath(Node::IsNotOnPath); return &cached_information; } else if (next_path.collapse_into == &next_path) { // node is collapsed with current node being head of cycle // collapse cycle node = CollapseNodes(*next_path.collapse_nodes); // recollect data using collapsed node } else { // node is collapsed with current node not being head of cycle return NULL; } |
| |||
// collapse cycle if necessary if (next_path.collapse_into == NULL) { // node is not collapsed node->SetOnPath(Node::IsNotOnPath); return &cached_information; } else if (next_path.collapse_into == &next_path) { // node is collapsed with current node being head of cycle // collapse cycle node = CollapseNodes(*next_path.collapse_nodes); // recollect data using collapsed node } else { // node is collapsed with current node not being head of cycle return NULL; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |