CloneSet329


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2610.993if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1267
administrator/components/com_banners/controllers/banner.php
2249
administrator/components/com_banners/controllers/client.php
32112
administrator/components/com_contact/admin.contact.php
4298
administrator/components/com_newsfeeds/admin.newsfeeds.php
5263
administrator/components/com_plugins/views/plugins/view.html.php
6265
administrator/components/com_search/models/search.php
Clone Instance
1
Line Count
2
Source Line
67
Source File
administrator/components/com_banners/controllers/banner.php

                if ($search) {
                        $where[]=  'LOWER(b.name) LIKE '
                                   .                     $db->Quote('%'
                                                                    .   $db->getEscaped($search, TRUE)
                                                                    .                                  '%', FALSE);
                      }


Clone Instance
2
Line Count
2
Source Line
49
Source File
administrator/components/com_banners/controllers/client.php

                if ($search) {
                        $where[]=  'LOWER(a.name) LIKE '
                                   .                     $db->Quote('%'
                                                                    .   $db->getEscaped($search, TRUE)
                                                                    .                                  '%', FALSE);
                      }


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

        if ($search) {
                $where[]=  'cd.name LIKE '
                           .               $db->Quote('%'
                                                      .   $db->getEscaped($search, TRUE)
                                                      .                                  '%', FALSE);
              }


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

        if ($search) {
                $where[]=  'LOWER(a.name) LIKE '
                           .                     $db->Quote('%'
                                                            .   $db->getEscaped($search, TRUE)
                                                            .                                  '%', FALSE);
              }


Clone Instance
5
Line Count
2
Source Line
63
Source File
administrator/components/com_plugins/views/plugins/view.html.php

                if ( $search)  {
                        $where[]=  'LOWER( p.name ) LIKE '
                                   .                       $db->Quote( '%'
                                                                       .   $db->getEscaped( $search, TRUE)
                                                                       .                                    '%', FALSE);
                      }


Clone Instance
6
Line Count
2
Source Line
65
Source File
administrator/components/com_search/models/search.php

                if ($search) {
                        $where[]=  'LOWER(search_term) LIKE '
                                   .                          $db->Quote('%'
                                                                         .   $db->getEscaped($search, TRUE)
                                                                         .                                  '%', FALSE);
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

if ($search) {
  $where[]= [[#variable525b1f20]]
           . $db->Quote('%'
                        . $db->getEscaped($search,TRUE)
                        . '%',FALSE);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525b1f20]]
'LOWER(search_term) LIKE ' 
12[[#525b1f20]]
'LOWER( p.name ) LIKE ' 
13[[#525b1f20]]
'LOWER(a.name) LIKE ' 
14[[#525b1f20]]
'cd.name LIKE ' 
15[[#525b1f20]]
'LOWER(b.name) LIKE ' 
16[[#525b1f20]]
'LOWER(a.name) LIKE '