CloneSet129


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15330.995statement_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115124
libraries/joomla/installer/adapters/library.php
215128
libraries/joomla/installer/adapters/package.php
315151
libraries/joomla/installer/adapters/template.php
Clone Instance
1
Line Count
15
Source Line
124
Source File
libraries/joomla/installer/adapters/library.php

                $row->name = $this->get('name');
                $row->type = 'library';
                $row->element = $this->get('element');
                $row->folder = ''; // There is no folder for modules
                $row->enabled = 1;
                $row->protected = 0;
                $row->access = 0;
                $row->client_id = 0;
                $row->params = $this->parent->getParams();
                $row->custom_data = ''; // custom data
                $row->manifest_cache = $this->parent->generateManifestCache();
                if (!$row->store()) {
                        // Install failed, roll back changes
                        $this->parent->abort(JText::_('Library')
                                             .                   ' '
                                             .                       JText::_('Install')
                                             .                                           ': '
                                             .                                                $db->stderr(TRUE));
                        return FALSE;
                      }


Clone Instance
2
Line Count
15
Source Line
128
Source File
libraries/joomla/installer/adapters/package.php

                $row->name = $this->get('name');
                $row->type = 'package';
                $row->element = $this->get('element');
                $row->folder = ''; // There is no folder for modules
                $row->enabled = 1;
                $row->protected = 0;
                $row->access = 0;
                $row->client_id = 0;
                $row->params = $this->parent->getParams();
                $row->custom_data = ''; // custom data
                $row->manifest_cache = $this->parent->generateManifestCache();
                if (!$row->store()) {
                        // Install failed, roll back changes
                        $this->parent->abort(JText::_('Package')
                                             .                   ' '
                                             .                       JText::_('Install')
                                             .                                           ': '
                                             .                                                $db->stderr(TRUE));
                        return FALSE;
                      }


Clone Instance
3
Line Count
15
Source Line
151
Source File
libraries/joomla/installer/adapters/template.php

                $row->name = $this->get('name');
                $row->type = 'template';
                $row->element = $this->get('name');
                $row->folder = ''; // There is no folder for templates
                $row->enabled = 1;
                $row->protected = 0;
                $row->access = 0;
                $row->client_id = 0;
                $row->params = $this->parent->getParams();
                $row->custom_data = ''; // custom data
                $row->manifest_cache = $this->parent->generateManifestCache();
                if (!$row->store()) {
                        // Install failed, roll back changes
                        $this->parent->abort(JText::_('Template')
                                             .                    ' '
                                             .                        JText::_('Install')
                                             .                                            ': '
                                             .                                                 $db->stderr(TRUE));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

$row->name =$this->get('name');
$row->type = [[#variable52249480]];
$row->element =$this->get( [[#variable52249440]]);
$row->folder =''; // There is no folder for templates // There is no folder for modules
$row->enabled =1;
$row->protected =0;
$row->access =0;
$row->client_id =0;
$row->params =$this->parent->getParams();
$row->custom_data =''; // custom data
$row->manifest_cache =$this->parent->generateManifestCache();
if (!$row->store()) {
  // Install failed, roll back changes
  $this->parent->abort(JText::_( [[#variable52249360]])
                       . ' '
                       . JText::_('Install')
                       . ': '
                       . $db->stderr(TRUE));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52249480]]
'template' 
12[[#52249480]]
'library' 
13[[#52249480]]
'package' 
21[[#52249440]]
'name' 
22[[#52249440]]
'element' 
23[[#52249440]]
'element' 
31[[#52249360]]
'Template' 
32[[#52249360]]
'Library' 
33[[#52249360]]
'Package'