CloneSet1526


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.975if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14127
administrator/components/com_contact/admin.contact.php
24110
administrator/components/com_newsfeeds/admin.newsfeeds.php
Clone Instance
1
Line Count
4
Source Line
127
Source File
administrator/components/com_contact/admin.contact.php

        if ($filter_order == 'cd.ordering') {
                $orderby=         ' ORDER BY category, cd.ordering';
              }
        else   {
                $orderby=         ' ORDER BY '
                                  .             $filter_order
                                  .                            ' '
                                  .                                 $filter_order_Dir
                                  .                                                    ', category, cd.ordering';
              }


Clone Instance
2
Line Count
4
Source Line
110
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        if ($filter_order == 'a.ordering') {
                $orderby=         ' ORDER BY catname, a.ordering';
              }
        else   {
                $orderby=         ' ORDER BY '
                                  .             $filter_order
                                  .                            ' '
                                  .                                 $filter_order_Dir
                                  .                                                    ', catname, a.ordering';
              }


Clone AbstractionParameter Count: 3Parameter Bindings

if ($filter_order == [[#variable51f0e620]]) {
  $orderby= [[#variable51f0e5a0]];
}
else {
  $orderby=' ORDER BY '
           . $filter_order
           . ' '
           . $filter_order_Dir
           .  [[#variable51f0e4a0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#51f0e620]]
'cd.ordering' 
12[[#51f0e620]]
'a.ordering' 
21[[#51f0e5a0]]
' ORDER BY category, cd.ordering' 
22[[#51f0e5a0]]
' ORDER BY catname, a.ordering' 
31[[#51f0e4a0]]
', category, cd.ordering' 
32[[#51f0e4a0]]
', catname, a.ordering'