Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.969 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 107 | plugins/search/contacts.php |
2 | 5 | 122 | plugins/search/newsfeeds.php |
| ||||
foreach ($rows as $key => $row) { $rows[$key]->href = 'index.php?option=com_contact&view=contact&id=' . $row->slug . '&catid=' . $row->catslug; } return $rows; |
| ||||
foreach ($rows as $key => $row) { $rows[$key]->href = 'index.php?option=com_newsfeeds&view=newsfeed&catid=' . $row->catslug . '&id=' . $row->slug; } return $rows; |
| |||
foreach ($rows as $key => $row) { $rows[$key]->href = [[#variable476e5e60]] . $row-> [[#variable476e5dc0]] . [[#variable476e5ce0]] . $row-> [[#variable476e5d40]]; } return $rows; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#476e5e60]] | 'index.php?option=com_contact&view=contact&id=' |
1 | 2 | [[#476e5e60]] | 'index.php?option=com_newsfeeds&view=newsfeed&catid=' |
2 | 1 | [[#476e5dc0]] | slug |
2 | 2 | [[#476e5dc0]] | catslug |
3 | 1 | [[#476e5ce0]] | '&catid=' |
3 | 2 | [[#476e5ce0]] | '&id=' |
4 | 1 | [[#476e5d40]] | catslug |
4 | 2 | [[#476e5d40]] | slug |