CloneSet1395


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.969statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15107
plugins/search/contacts.php
25122
plugins/search/newsfeeds.php
Clone Instance
1
Line Count
5
Source Line
107
Source File
plugins/search/contacts.php

        foreach ($rows as $key => $row) {
                $rows[$key]->href = 'index.php?option=com_contact&view=contact&id='
                                    .                                               $row->slug
                                    .                                                          '&catid='
                                    .                                                                    $row->catslug;
              }
        return $rows;


Clone Instance
2
Line Count
5
Source Line
122
Source File
plugins/search/newsfeeds.php

        foreach ($rows as $key => $row) {
                $rows[$key]->href = 'index.php?option=com_newsfeeds&view=newsfeed&catid='
                                    .                                                     $row->catslug
                                    .                                                                   '&id='
                                    .                                                                          $row->slug;
              }
        return $rows;


Clone AbstractionParameter Count: 4Parameter Bindings

foreach ($rows as $key => $row) {
  $rows[$key]->href = [[#variable476e5e60]]
                     . $row-> [[#variable476e5dc0]]
                     .  [[#variable476e5ce0]]
                     . $row-> [[#variable476e5d40]];
}
return $rows;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#476e5e60]]
'index.php?option=com_contact&view=contact&id=' 
12[[#476e5e60]]
'index.php?option=com_newsfeeds&view=newsfeed&catid=' 
21[[#476e5dc0]]
slug 
22[[#476e5dc0]]
catslug 
31[[#476e5ce0]]
'&catid=' 
32[[#476e5ce0]]
'&id=' 
41[[#476e5d40]]
catslug 
42[[#476e5d40]]
slug