CloneSet780


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.987foreach_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17570
libraries/joomla/installer/adapters/component.php
27581
libraries/joomla/installer/adapters/component.php
Clone Instance
1
Line Count
7
Source Line
570
Source File
libraries/joomla/installer/adapters/component.php

                // Find files to copy
                foreach ($this->manifest->children() as $child)
                {
                        if (is_a($child, 'JSimpleXMLElement')
                            &&                                   $child->name() == 'files') {
                                if ($this->parent->parseFiles($child, 0, $this->oldFiles) === FALSE) {
                                        // Install failed, rollback any changes
                                        $this->parent->abort();
                                        return FALSE;
                                      }
                              }
                      }


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

                foreach ($this->adminElement->children() as $child)
                {
                        if (is_a($child, 'JSimpleXMLElement')
                            &&                                   $child->name() == 'files') {
                                if ($this->parent->parseFiles($child, 1, $this->oldAdminFiles) === FALSE) {
                                        // Install failed, rollback any changes
                                        $this->parent->abort();
                                        return FALSE;
                                      }
                              }
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Find files to copy
foreach ($this-> [[#variable4afcebe0]]->children() as $child) {
  if (is_a($child,'JSimpleXMLElement')
      && $child->name() == 'files') {
    if ($this->parent->parseFiles($child, [[#variable4afceaa0]],$this-> [[#variable4afcea80]]) === FALSE) {
      // Install failed, rollback any changes
      $this->parent->abort();
      return FALSE;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4afcebe0]]
adminElement 
12[[#4afcebe0]]
manifest 
21[[#4afceaa0]]
1 
22[[#4afceaa0]]
0 
31[[#4afcea80]]
oldAdminFiles 
32[[#4afcea80]]
oldFiles