Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 2 | 0.976 | statement_seq[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 2983 | InclusionConstraintGraph/Graph.h |
2 | 22 | 3005 | InclusionConstraintGraph/Graph.h |
| ||||
while (file[position] != L'-') { // get target node std::size_t target; GetNumber(target); // skip separator SkipCharacter(L':'); // get source node std::size_t source; GetNumber(source); // skip separate SkipCharacter(L':'); // get field unsigned long field; GetNumber(field); // skip newline SkipNewline(); // remember constraint m_assignments_to_targets_from_fields_of_dereferenced_sources.Append(file_translation_unit, map_node_number_to_node[target].node, map_node_number_to_node[source].node, field); } // read constraints target=&(*source).field SkipText(L"-- target=&(*source).field"); SkipNewline(); |
| ||||
while (file[position] != L'-') { // get target node std::size_t target; GetNumber(target); // skip separator SkipCharacter(L':'); // get source node std::size_t source; GetNumber(source); // skip separate SkipCharacter(L':'); // get field unsigned long field; GetNumber(field); // skip newline SkipNewline(); // remember constraint m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources.Append(file_translation_unit, map_node_number_to_node[target].node, map_node_number_to_node[source].node, field); } // skip footer SkipText(L"-- end"); SkipNewline(); |
| |||
while (file[position] != L'-') { // get target node std::size_t target; GetNumber(target); // skip separator SkipCharacter(L':'); // get source node std::size_t source; GetNumber(source); // skip separate SkipCharacter(L':'); // get field unsigned long field; GetNumber(field); // skip newline SkipNewline(); [[#variablea93b920]].Append(file_translation_unit, map_node_number_to_node[target].node, map_node_number_to_node[source].node, field); } // skip footer // read constraints target=&(*source).field SkipText([[#variablea93f7a0]]); SkipNewline(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a93b920]] | // remember constraint m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources |
1 | 2 | [[#a93b920]] | // remember constraint m_assignments_to_targets_from_fields_of_dereferenced_sources |
2 | 1 | [[#a93f7a0]] | L"-- end" |
2 | 2 | [[#a93f7a0]] | L"-- target=&(*source).field" |