CloneSet31


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22220.976statement_seq[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1222983
InclusionConstraintGraph/Graph.h
2223005
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
22
Source Line
2983
Source File
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();


Clone Instance
2
Line Count
22
Source Line
3005
Source File
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_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();


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a93b920]]
// remember constraint
m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources 
12[[#a93b920]]
// remember constraint
m_assignments_to_targets_from_fields_of_dereferenced_sources 
21[[#a93f7a0]]
L"-- end" 
22[[#a93f7a0]]
L"-- target=&(*source).field"