CloneSet7


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16501.000statement_seq[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161877
InclusionConstraintGraph/Graph.h
2161926
InclusionConstraintGraph/Graph.h
3162039
InclusionConstraintGraph/Graph.h
4162214
InclusionConstraintGraph/Graph.h
5162272
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
16
Source Line
1877
Source File
InclusionConstraintGraph/Graph.h

                                                        // check for auxiliary mark
                                                        if (file[position] == L'#') {
                                                            position++;
                                                                // remember node being auxiliary border
                                                                map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
                                                                // mark node as being auxiliary border if necessary
                                                                if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked) {
                                                                        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
                                                                                                                                              }
                                                                                    }
                                                        else   {
                                                                if (translation_unit == 0) {
                                                                        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
                                                                                           }
                                                               }
                                                        // skip newline
                                                        SkipNewline();
                                                        break;


Clone Instance
2
Line Count
16
Source Line
1926
Source File
InclusionConstraintGraph/Graph.h

                                                        // check for auxiliary mark
                                                        if (file[position] == L'#') {
                                                                position++;
                                                                // remember node being auxiliary border
                                                                map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
                                                                // mark node as being auxiliar border if necessary
                                                                if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked) {
                                                                        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
                                                                                                                                              }
                                                                                    }
                                                        else   {
                                                                if (translation_unit == 0) {
                                                                        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
                                                                                           }
                                                               }
                                                        // skip newline
                                                        SkipNewline();
                                                        break;


Clone Instance
3
Line Count
16
Source Line
2039
Source File
InclusionConstraintGraph/Graph.h

                                                        // check for auxiliary mark
                                                        if (file[position] == L'#') {
                                                                position++;
                                                                // remember node being auxiliary border
                                                                map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
                                                                // mark node as being auxiliar border if necessary
                                                                if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked) {
                                                                        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
                                                                                                                                              }
                                                                                    }
                                                        else   {
                                                                if (translation_unit == 0) {
                                                                        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
                                                                                           }
                                                               }
                                                        // skip newline
                                                        SkipNewline();
                                                        break;


Clone Instance
4
Line Count
16
Source Line
2214
Source File
InclusionConstraintGraph/Graph.h

                                                        // check for auxiliary mark
                                                        if (file[position] == L'#') {
                                                                position++;
                                                                // remember node being auxiliary border
                                                                map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
                                                                // mark node as being auxiliar border if necessary
                                                                if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked) {
                                                                        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
                                                                                                                                              }
                                                                                    }
                                                        else   {
                                                                if (translation_unit == 0) {
                                                                        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
                                                                                           }
                                                               }
                                                        // skip newline
                                                        SkipNewline();
                                                        break;


Clone Instance
5
Line Count
16
Source Line
2272
Source File
InclusionConstraintGraph/Graph.h

                                                        // check for auxiliary mark
                                                        if (file[position] == L'#') {
                                                                position++;
                                                                // remember node being auxiliary border
                                                                map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
                                                                // mark node as being auxiliar border if necessary
                                                                if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked) {
                                                                        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
                                                                                                                                              }
                                                                                    }
                                                        else   {
                                                                if (translation_unit == 0) {
                                                                        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
                                                                                           }
                                                               }
                                                        // skip newline
                                                        SkipNewline();
                                                        break;


Clone AbstractionParameter Count: 0Parameter Bindings

// check for auxiliary mark
if (file[position] == L'#')
  {
    position++;
    // remember node being auxiliary border
    map_node_number_to_node[node_number].statistics.is_auxiliary_border = true;
    // mark node as being auxiliar border if necessary
    // mark node as being auxiliary border if necessary
    if (map_node_number_to_node[node_number].node->GetOnPath() == Node::IsMarked)
      {
        map_node_number_to_node[node_number].node->SetAuxiliaryBorder(Node::IsAuxiliaryBorder);
      }
  }
else
  {
    if (translation_unit == 0)
      {
        m_nodes_to_sets_of_translation_units.Add(map_node_number_to_node[node_number].node, file_translation_unit);
      }
  }
// skip newline
SkipNewline();
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None