CloneSet1514


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1542
components/com_content/router.php
2964
components/com_content/router.php
Clone Instance
1
Line Count
5
Source Line
42
Source File
components/com_content/router.php

                if ($itemId=  self::_findItemId($needles)) {
                        $link.=  '&Itemid='
                                 .          $itemId;
                      }
                 ;
                return $link;


Clone Instance
2
Line Count
9
Source Line
64
Source File
components/com_content/router.php

                if ($itemId=  self::_findItemId($needles)) {
                        // TODO: The following should work automatically??
                        //if (isset($item->query['layout'])) {
                        //      $link .= '&layout='.$item->query['layout'];
                        //}
                        $link.=  '&Itemid='
                                 .          $itemId;
                      }
                 ;
                return $link;


Clone AbstractionParameter Count: 0Parameter Bindings

if ($itemId=self::_findItemId($needles)) {
  // TODO: The following should work automatically??
  //if (isset($item->query['layout'])) {
  //      $link .= '&layout='.$item->query['layout'];
  //}
  $link.='&Itemid='
         . $itemId;
}
;
return $link;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None