Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | selection_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 288 | InclusionConstraintGraph/Graph.h |
2 | 11 | 356 | InclusionConstraintGraph/Graph.h |
| ||||
if (path->collapse_into == header_of_cycle) { } else if (path->collapse_into == path) { if (path != header_of_cycle) { header_of_cycle->direct_collapse_nodes->Union(*path->direct_collapse_nodes); header_of_cycle->indirect_collapse_nodes->Union(*path->indirect_collapse_nodes); path->direct_collapse_nodes->Empty(); path->indirect_collapse_nodes->Empty(); path->collapse_into = header_of_cycle; } } else { path->collapse_into = header_of_cycle; } |
| ||||
if (path->collapse_into == header_of_cycle) { } else if (path->collapse_into == path) { if (path != header_of_cycle) { header_of_cycle->direct_collapse_nodes->Union(*path->direct_collapse_nodes); header_of_cycle->indirect_collapse_nodes->Union(*path->indirect_collapse_nodes); path->direct_collapse_nodes->Empty(); path->indirect_collapse_nodes->Empty(); path->collapse_into = header_of_cycle; } } else { path->collapse_into = header_of_cycle; } |
| |||
if (path->collapse_into == header_of_cycle) { } else if (path->collapse_into == path) { if (path != header_of_cycle) { header_of_cycle->direct_collapse_nodes->Union(*path->direct_collapse_nodes); header_of_cycle->indirect_collapse_nodes->Union(*path->indirect_collapse_nodes); path->direct_collapse_nodes->Empty(); path->indirect_collapse_nodes->Empty(); path->collapse_into = header_of_cycle; } } else { path->collapse_into = header_of_cycle; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |