CloneSet244


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2810.993if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12171
libraries/joomla/installer/adapters/component.php
22190
libraries/joomla/installer/adapters/component.php
32546
libraries/joomla/installer/adapters/component.php
42565
libraries/joomla/installer/adapters/component.php
52172
libraries/joomla/installer/adapters/language.php
62107
libraries/joomla/installer/adapters/library.php
7289
libraries/joomla/installer/adapters/package.php
82104
libraries/joomla/installer/adapters/template.php
Clone Instance
1
Line Count
2
Source Line
171
Source File
libraries/joomla/installer/adapters/component.php

                /*
                 * Since we created the component directory and will want to remove it if we have to roll back
                 * the installation, lets add it to the installation step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_site')
                                                     ));
                      }


Clone Instance
2
Line Count
2
Source Line
190
Source File
libraries/joomla/installer/adapters/component.php

                /*
                 * Since we created the component admin directory and we will want to remove it if we have to roll
                 * back the installation, lets add it to the installation step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_administrator')
                                                     ));
                      }


Clone Instance
3
Line Count
2
Source Line
546
Source File
libraries/joomla/installer/adapters/component.php

                /*
                 * Since we created the component directory and will want to remove it if we have to roll back
                 * the installation, lets add it to the installation step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_site')
                                                     ));
                      }


Clone Instance
4
Line Count
2
Source Line
565
Source File
libraries/joomla/installer/adapters/component.php

                /*
                 * Since we created the component admin directory and we will want to remove it if we have to roll
                 * back the installation, lets add it to the installation step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_administrator')
                                                     ));
                      }


Clone Instance
5
Line Count
2
Source Line
172
Source File
libraries/joomla/installer/adapters/language.php

                /*
                 * If we created the language directory and will want to remove it if we
                 * have to roll back the installation, lets add it to the installation
                 * step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_site')
                                                     ));
                      }


Clone Instance
6
Line Count
2
Source Line
107
Source File
libraries/joomla/installer/adapters/library.php

                /*
                 * If we created the plugin directory and will want to remove it if we
                 * have to roll back the installation, lets add it to the installation
                 * step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_root')
                                                     ));
                      }


Clone Instance
7
Line Count
2
Source Line
89
Source File
libraries/joomla/installer/adapters/package.php

                /*
                 * If we created the plugin directory and will want to remove it if we
                 * have to roll back the installation, lets add it to the installation
                 * step stack
                 */
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_root')
                                                     ));
                      }


Clone Instance
8
Line Count
2
Source Line
104
Source File
libraries/joomla/installer/adapters/template.php

                // If we created the template directory and will want to remove it if we have to roll back
                // the installation, lets add it to the installation step stack
                if ($created) {
                        $this->parent->pushStep(array( 'type' => 'folder', 'path' => $this->parent->getPath('extension_root')
                                                     ));
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

// If we created the template directory and will want to remove it if we have to roll back
// the installation, lets add it to the installation step stack
/*
                 * If we created the language directory and will want to remove it if we
                 * have to roll back the installation, lets add it to the installation
                 * step stack
                 */
/*
                 * Since we created the component admin directory and we will want to remove it if we have to roll
                 * back the installation, lets add it to the installation step stack
                 */
/*
                 * If we created the plugin directory and will want to remove it if we
                 * have to roll back the installation, lets add it to the installation
                 * step stack
                 */
/*
                 * Since we created the component directory and will want to remove it if we have to roll back
                 * the installation, lets add it to the installation step stack
                 */
if ($created) {
  $this->parent->pushStep(array( 'type' => 'folder',
                                 'path' => $this->parent->getPath( [[#variable44be18a0]])
                               ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#44be18a0]]
'extension_root' 
12[[#44be18a0]]
'extension_site' 
13[[#44be18a0]]
'extension_administrator' 
14[[#44be18a0]]
'extension_administrator' 
15[[#44be18a0]]
'extension_root' 
16[[#44be18a0]]
'extension_site' 
17[[#44be18a0]]
'extension_site' 
18[[#44be18a0]]
'extension_root'