CloneSet1126


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15212
components/com_content/views/category/view.html.php
25245
components/com_content/views/category/view.html.php
Clone Instance
1
Line Count
5
Source Line
212
Source File
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;
                              }


Clone Instance
2
Line Count
5
Source Line
245
Source File
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;
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None