CloneSet454


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5520.986if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1755
administrator/components/com_banners/controllers/banner.php
25118
administrator/components/com_contact/admin.contact.php
3581
administrator/components/com_messages/admin.messages.php
45101
administrator/components/com_newsfeeds/admin.newsfeeds.php
5566
administrator/components/com_plugins/views/plugins/view.html.php
Clone Instance
1
Line Count
7
Source Line
55
Source File
administrator/components/com_banners/controllers/banner.php

                if ($filter_state)
                {
                        if ($filter_state == 'P') {
                                $where[]=  'b.showBanner = 1';
                              }
                        else if ($filter_state == 'U') {
                                $where[]=  'b.showBanner = 0';
                              }
                      }


Clone Instance
2
Line Count
5
Source Line
118
Source File
administrator/components/com_contact/admin.contact.php

        if ($filter_state) {
                if ($filter_state == 'P') {
                        $where[]=  'cd.published = 1';
                      }
                else   if ($filter_state == 'U') {
                        $where[]=  'cd.published = 0';
                      }
              }


Clone Instance
3
Line Count
5
Source Line
81
Source File
administrator/components/com_messages/admin.messages.php

        if ($filter_state) {
                if ($filter_state == 'P') {
                        $where[]=  'a.state = 1';
                      }
                else   if ($filter_state == 'U') {
                        $where[]=  'a.state = 0';
                      }
              }


Clone Instance
4
Line Count
5
Source Line
101
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

        if ($filter_state) {
                if ($filter_state == 'P') {
                        $where[]=  'a.published = 1';
                      }
                else   if ($filter_state == 'U') {
                        $where[]=  'a.published = 0';
                      }
              }


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

                if ( $filter_state)  {
                        if ( $filter_state == 'P')  {
                                $where[]=  'p.enabled = 1';
                              }
                        else   if ($filter_state == 'U')  {
                                $where[]=  'p.enabled = 0';
                              }
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

if ($filter_state) {
  if ($filter_state == 'P') {
    $where[]= [[#variable4c6db900]];
  }
  else if ($filter_state == 'U') {
         $where[]= [[#variable4c6db8e0]];
       }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c6db900]]
'p.enabled = 1' 
12[[#4c6db900]]
'a.published = 1' 
13[[#4c6db900]]
'a.state = 1' 
14[[#4c6db900]]
'cd.published = 1' 
15[[#4c6db900]]
'b.showBanner = 1' 
21[[#4c6db8e0]]
'p.enabled = 0' 
22[[#4c6db8e0]]
'a.published = 0' 
23[[#4c6db8e0]]
'a.state = 0' 
24[[#4c6db8e0]]
'cd.published = 0' 
25[[#4c6db8e0]]
'b.showBanner = 0'