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