CloneSet56


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000selection_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1975
InclusionConstraintGraph/SetOfNodes.h
26642
InclusionConstraintGraph/SetOfNodes.h
Clone Instance
1
Line Count
9
Source Line
75
Source File
InclusionConstraintGraph/SetOfNodes.h

                        if (source.m_connections == NULL) {
                                // no node in source set
                                m_connections = NULL;
                                                          }
                        else   if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(source.m_connections)) & 1) != 0)  {
                                // singleton node in source set
                                m_connections = source.m_connections;
                                                                                                                              }
                               else
                               {
                                // multiple nodes in source set
                                m_connections = source.m_connections->Share();
                               }


Clone Instance
2
Line Count
6
Source Line
642
Source File
InclusionConstraintGraph/SetOfNodes.h

                        if (source.m_connections == NULL) {
                                m_connections = NULL;
                                                          }
                        else   if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(source.m_connections)) & 1) != 0) {
                                m_connections = source.m_connections;
                                                                                                                             }
                               else
                               {
                                m_connections = source.m_connections->Share();
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

if (source.m_connections == NULL)
  {
    // no node in source set
    m_connections = NULL;
  }
else
  if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(source.m_connections)) & 1) != 0)
    {
      // singleton node in source set
      m_connections = source.m_connections;
    }
  else
    {
      // multiple nodes in source set
      m_connections = source.m_connections->Share();
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None