CloneSet597


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2530.973if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12335
administrator/components/com_banners/controllers/banner.php
22399
administrator/components/com_banners/controllers/banner.php
3254
components/com_weblinks/controllers/weblink.php
4273
components/com_weblinks/controllers/weblink.php
5249
components/com_weblinks/views/category/view.html.php
Clone Instance
1
Line Count
2
Source Line
335
Source File
administrator/components/com_banners/controllers/banner.php

                if (empty($cid)) {
                        return JError::raiseWarning(500, JText::_('No items selected'));
                      }


Clone Instance
2
Line Count
2
Source Line
399
Source File
administrator/components/com_banners/controllers/banner.php

                if (empty($cid)) {
                        return JError::raiseWarning(500, JText::_('No items selected'));
                      }


Clone Instance
3
Line Count
2
Source Line
54
Source File
components/com_weblinks/controllers/weblink.php

                // Make sure the item was found.
                if (empty($link)) {
                        return JError::raiseWarning(404, JText::_('Weblinks_Error_Weblink_not_found'));
                      }


Clone Instance
4
Line Count
2
Source Line
73
Source File
components/com_weblinks/controllers/weblink.php

                // Make sure the category was found.
                if (empty($category)) {
                        return JError::raiseWarning(404, JText::_('Weblinks_Error_Weblink_not_found'));
                      }


Clone Instance
5
Line Count
2
Source Line
49
Source File
components/com_weblinks/views/category/view.html.php

                // Validate the category.

                // Make sure the category was found.
                if (empty($category)) {
                        return JError::raiseWarning(404, JText::_('Weblinks_Error_Category_not_found'));
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Validate the category.
// Make sure the category was found.
// Make sure the item was found.
if (empty( [[#variable4ab663c0]])) {
  return JError::raiseWarning( [[#variable46ffacc0]],JText::_( [[#variable4ab66400]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ab663c0]]
$cid 
12[[#4ab663c0]]
$category 
13[[#4ab663c0]]
$link 
14[[#4ab663c0]]
$category 
15[[#4ab663c0]]
$cid 
21[[#46ffacc0]]
500 
22[[#46ffacc0]]
404 
23[[#46ffacc0]]
404 
24[[#46ffacc0]]
404 
25[[#46ffacc0]]
500 
31[[#4ab66400]]
'No items selected' 
32[[#4ab66400]]
'Weblinks_Error_Weblink_not_found' 
33[[#4ab66400]]
'Weblinks_Error_Weblink_not_found' 
34[[#4ab66400]]
'Weblinks_Error_Category_not_found' 
35[[#4ab66400]]
'No items selected'