Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 212 | components/com_content/views/category/view.html.php |
2 | 5 | 245 | components/com_content/views/category/view.html.php |
| ||||
if ($user->authorize('com_content.article.edit_article')) { $item->edit = $user->authorize('com_content.article.edit', 'article.' . $item->id); } else { $item->edit = FALSE; } |
| ||||
if ($user->authorize('com_content.article.edit_article')) { $item->edit = $user->authorize('com_content.article.edit', 'article.' . $item->id); } else { $item->edit = FALSE; } |
| |||
if ($user->authorize('com_content.article.edit_article')) { $item->edit =$user->authorize('com_content.article.edit','article.' . $item->id); } else { $item->edit =FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |