CloneSet746


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1836
components/com_content/helpers/route.php
2870
components/com_content/helpers/route.php
Clone Instance
1
Line Count
8
Source Line
36
Source File
components/com_content/helpers/route.php

                        $catids=  array();
                        $catids[]=  $category->id;
                        while ($category->getParent() instanceof JCategoryNode)
                        {
                                $category=  $category->getParent();
                                $catids[]=  $category->id;
                              }
                        $catids=  array_reverse($catids);


Clone Instance
2
Line Count
8
Source Line
70
Source File
components/com_content/helpers/route.php

                $catids=  array();
                $catids[]=  $category->id;
                while ($category->getParent() instanceof JCategoryNode)
                {
                        $category=  $category->getParent();
                        $catids[]=  $category->id;
                      }
                $catids=  array_reverse($catids);


Clone AbstractionParameter Count: 0Parameter Bindings

$catids=array();
$catids[]=$category->id;
while ($category->getParent() instanceof JCategoryNode) {
  $category=$category->getParent();
  $catids[]=$category->id;
}
$catids=array_reverse($catids);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None