Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.961 | foreach_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 110 | components/com_content/helpers/route.php |
2 | 5 | 120 | components/com_content/helpers/route.php |
3 | 5 | 60 | components/com_weblinks/helpers/route.php |
| ||||
foreach ($items as $item) { if ((@$item->query['view'] == $needle) && (@$item->query['id'] == $tempid)) { $match= $item; break; } } |
| ||||
foreach ($items as $item) { if ((@$item->query['view'] == $needle) && (@$item->query['id'] == $id)) { $match= $item; break; } } |
| ||||
foreach ($items as $item) { if ((@$item->query['view'] == $needle) && (@$item->query['id'] == $id)) { $match= $item->id; break; } } |
| |||
foreach ($items as $item) { if ((@$item->query['view'] == $needle) && (@$item->query['id'] == [[#variable525261c0]])) { $match= [[#variable52526140]]; break; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#525261c0]] | $id |
1 | 2 | [[#525261c0]] | $tempid |
1 | 3 | [[#525261c0]] | $id |
2 | 1 | [[#52526140]] | $item |
2 | 2 | [[#52526140]] | $item |
2 | 3 | [[#52526140]] | $item->id |