CloneSet512


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10310.995statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11091
administrator/components/com_installer/models/extension.php
210168
administrator/components/com_installer/models/manage.php
39260
administrator/components/com_installer/models/manage.php
Clone Instance
1
Line Count
10
Source Line
91
Source File
administrator/components/com_installer/models/extension.php

                /*
                 * Ensure eid is an array of extension ids in the form id => client_id
                 * TODO: If it isn't an array do we want to set an error and fail?
                 */
                if (!is_array($eid)) {
                        $eid=  array($eid => 0);
                      }

                // Get a database connector
                $db=  &JFactory::getDbo();

                // Get an installer object for the extension type
                jimport('joomla.installer.installer');
                $installer=  & JInstaller::getInstance();


Clone Instance
2
Line Count
10
Source Line
168
Source File
administrator/components/com_installer/models/manage.php

                /*
                 * Ensure eid is an array of extension ids in the form id => client_id
                 * TODO: If it isn't an array do we want to set an error and fail?
                 */
                if (!is_array($eid)) {
                        $eid=  array($eid => 0);
                      }

                // Get a database connector
                $db= & JFactory::getDBO();

                // Get an installer object for the extension type
                jimport('joomla.installer.installer');
                $installer=  & JInstaller::getInstance();


Clone Instance
3
Line Count
9
Source Line
260
Source File
administrator/components/com_installer/models/manage.php

                if (!is_array($eid)) {
                        $eid=  array($eid => 0);
                      }
                // Get a database connector
                $db= & JFactory::getDBO();

                // Get an installer object for the extension type
                jimport('joomla.installer.installer');
                $installer=  & JInstaller::getInstance();


Clone AbstractionParameter Count: 1Parameter Bindings

/*
                 * Ensure eid is an array of extension ids in the form id => client_id
                 * TODO: If it isn't an array do we want to set an error and fail?
                 */
if (!is_array($eid)) {
  $eid=array($eid => 0);
}
// Get a database connector
$db= &JFactory:: [[#variable507eb9e0]]();
// Get an installer object for the extension type
jimport('joomla.installer.installer');
$installer= &JInstaller::getInstance();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#507eb9e0]]
getDbo 
12[[#507eb9e0]]
getDBO 
13[[#507eb9e0]]
getDBO