CloneSet613


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.961foreach_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15110
components/com_content/helpers/route.php
25120
components/com_content/helpers/route.php
3560
components/com_weblinks/helpers/route.php
Clone Instance
1
Line Count
5
Source Line
110
Source File
components/com_content/helpers/route.php

                                        foreach ($items as $item)
                                        {
                                                if ((@$item->query['view'] == $needle)
                                                    &&                                    (@$item->query['id'] == $tempid)) {
                                                        $match=  $item;
                                                        break;
                                                      }
                                              }


Clone Instance
2
Line Count
5
Source Line
120
Source File
components/com_content/helpers/route.php

                                foreach ($items as $item)
                                {
                                        if ((@$item->query['view'] == $needle)
                                            &&                                    (@$item->query['id'] == $id)) {
                                                $match=  $item;
                                                break;
                                              }
                                      }


Clone Instance
3
Line Count
5
Source Line
60
Source File
components/com_weblinks/helpers/route.php

                        foreach ($items as $item)
                        {
                                if ((@$item->query['view'] == $needle)
                                    &&                                    (@$item->query['id'] == $id)) {
                                        $match=  $item->id;
                                        break;
                                      }
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

foreach ($items as $item) {
  if ((@$item->query['view'] == $needle)
      && (@$item->query['id'] == [[#variable525261c0]])) {
    $match= [[#variable52526140]];
    break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525261c0]]
$id 
12[[#525261c0]]
$tempid 
13[[#525261c0]]
$id 
21[[#52526140]]
$item 
22[[#52526140]]
$item 
23[[#52526140]]
$item->id