Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 0 | 1.000 | selection_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 94 | InclusionConstraintGraph/SetOfNodes.h |
2 | 9 | 531 | InclusionConstraintGraph/SetOfNodes.h |
| ||||
if (m_connections == NULL) { // no node in set } else if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(m_connections)) & 1) != 0) { // single node in set m_connections = NULL; } else { // multiple nodes in set m_connections->Destroy(); m_connections = NULL; } |
| ||||
if (m_connections == NULL) { // no node in target set } else if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(m_connections)) & 1) != 0) { // single node in target set m_connections = NULL; } else { // multiple nodes in target set m_connections->Destroy(); m_connections = NULL; } |
| |||
if (m_connections == NULL) { // no node in target set // no node in set } else if ((reinterpret_cast<std::size_t>(reinterpret_cast<char *>(m_connections)) & 1) != 0) { // single node in target set // single node in set m_connections = NULL; } else { // multiple nodes in target set // multiple nodes in set m_connections->Destroy(); m_connections = NULL; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |