CloneSet657


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3410.992if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14235
administrator/components/com_banners/controllers/banner.php
23277
administrator/components/com_contact/admin.contact.php
33239
administrator/components/com_newsfeeds/admin.newsfeeds.php
43202
components/com_weblinks/models/weblink.php
Clone Instance
1
Line Count
4
Source Line
235
Source File
administrator/components/com_banners/controllers/banner.php

                // if new item order last in appropriate group
                if (!$row->bid)
                {
                        $where=  'catid = '
                                 .          (int) $row->catid;
                        $row->ordering = $row->getNextOrder($where);
                      }


Clone Instance
2
Line Count
3
Source Line
277
Source File
administrator/components/com_contact/admin.contact.php

        // if new item, order last in appropriate group
        if (!$row->id) {
                $where=  "catid = "
                         .            (int) $row->catid;
                $row->ordering = $row->getNextOrder($where);
              }


Clone Instance
3
Line Count
3
Source Line
239
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        // if new item, order last in appropriate group
        if (!$row->id) {
                $where=  "catid = "
                         .            (int) $row->catid;
                $row->ordering = $row->getNextOrder($where);
              }


Clone Instance
4
Line Count
3
Source Line
202
Source File
components/com_weblinks/models/weblink.php

                // if new item, order last in appropriate group
                if (!$row->id) {
                        $where=  'catid = '
                                 .            (int) $row->catid;
                        $row->ordering = $row->getNextOrder($where);
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

// if new item, order last in appropriate group
// if new item order last in appropriate group
if (!$row-> [[#variable4ed970e0]]) {
  $where='catid = '
         . (int) $row->catid;
  $row->ordering =$row->getNextOrder($where);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ed970e0]]
id 
12[[#4ed970e0]]
bid 
13[[#4ed970e0]]
id 
14[[#4ed970e0]]
id