Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.964 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 142 | administrator/components/com_content/models/articles.php |
2 | 2 | 146 | administrator/components/com_weblinks/models/weblinks.php |
3 | 2 | 94 | components/com_content/models/article.php |
4 | 2 | 99 | components/com_weblinks/models/category.php |
| ||||
if (is_numeric($categoryId)) { $query->where('a.state = ' . (int) $published); } |
| ||||
if (is_numeric($categoryId)) { $query->where('a.catid = ' . (int) $categoryId); } |
| ||||
if (is_numeric($published)) { $query->where('a.state = ' . (int) $published); } |
| ||||
if (is_numeric($state)) { $query->where('a.state = ' . (int) $state); } |
| |||
if (is_numeric( [[#variable223726e0]])) { $query->where( [[#variable22372680]] . (int) [[#variable22372620]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#223726e0]] | $categoryId |
1 | 2 | [[#223726e0]] | $published |
1 | 3 | [[#223726e0]] | $state |
1 | 4 | [[#223726e0]] | $categoryId |
2 | 1 | [[#22372680]] | 'a.state = ' |
2 | 2 | [[#22372680]] | 'a.state = ' |
2 | 3 | [[#22372680]] | 'a.state = ' |
2 | 4 | [[#22372680]] | 'a.catid = ' |
3 | 1 | [[#22372620]] | $published |
3 | 2 | [[#22372620]] | $published |
3 | 3 | [[#22372620]] | $state |
3 | 4 | [[#22372620]] | $categoryId |