CloneSet1075


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.964if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12142
administrator/components/com_content/models/articles.php
22146
administrator/components/com_weblinks/models/weblinks.php
3294
components/com_content/models/article.php
4299
components/com_weblinks/models/category.php
Clone Instance
1
Line Count
2
Source Line
142
Source File
administrator/components/com_content/models/articles.php

                if (is_numeric($categoryId)) {
                        $query->where('a.state = '
                                      .              (int) $published);
                      }


Clone Instance
2
Line Count
2
Source Line
146
Source File
administrator/components/com_weblinks/models/weblinks.php

                if (is_numeric($categoryId)) {
                        $query->where('a.catid = '
                                      .            (int) $categoryId);
                      }


Clone Instance
3
Line Count
2
Source Line
94
Source File
components/com_content/models/article.php

                                if (is_numeric($published)) {
                                        $query->where('a.state = '
                                                      .            (int) $published);
                                      }


Clone Instance
4
Line Count
2
Source Line
99
Source File
components/com_weblinks/models/category.php

                if (is_numeric($state)) {
                        $query->where('a.state = '
                                      .            (int) $state);
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

if (is_numeric( [[#variable223726e0]])) {
  $query->where( [[#variable22372680]]
                . (int) [[#variable22372620]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#223726e0]]
$categoryId 
12[[#223726e0]]
$published 
13[[#223726e0]]
$state 
14[[#223726e0]]
$categoryId 
21[[#22372680]]
'a.state = ' 
22[[#22372680]]
'a.state = ' 
23[[#22372680]]
'a.state = ' 
24[[#22372680]]
'a.catid = ' 
31[[#22372620]]
$published 
32[[#22372620]]
$published 
33[[#22372620]]
$state 
34[[#22372620]]
$categoryId