CloneSet703


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.988statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1787
administrator/components/com_installer/models/modules.php
27102
administrator/components/com_installer/models/plugins.php
Clone Instance
1
Line Count
7
Source Line
87
Source File
administrator/components/com_installer/models/modules.php

                        // xml file for module
                        $xmlfile=  $moduleBaseDir
                                   .                DS
                                   .                     $row->module
                                   .                                   DS
                                   .                                       $row->module
                                   .                                                    ".xml";
                        if (file_exists($xmlfile))
                        {
                                if ($data=  JApplicationHelper::parseXMLInstallFile($xmlfile)) {
                                        foreach ($data as $key => $value) {
                                                $row->$key=  $value;
                                              }
                                      }
                              }


Clone Instance
2
Line Count
7
Source Line
102
Source File
administrator/components/com_installer/models/plugins.php

                        // Get the plugin xml file
                        $xmlfile=  $baseDir
                                   .        DS
                                   .           $row->folder
                                   .                        DS
                                   .                           $row->element
                                   .                                         ".xml";
                        if (file_exists($xmlfile)) {
                                if ($data=  JApplicationHelper::parseXMLInstallFile($xmlfile)) {
                                        foreach ($data as $key => $value)
                                        {
                                                $row->$key=  $value;
                                              }
                                      }
                              }


Clone AbstractionParameter Count: 3Parameter Bindings

// xml file for module
// Get the plugin xml file
$xmlfile= [[#variable489c3f80]]
         . DS
         . $row-> [[#variable489c3f00]]
         . DS
         . $row-> [[#variable489c3ee0]]
         . ".xml";
if (file_exists($xmlfile)) {
  if ($data=JApplicationHelper::parseXMLInstallFile($xmlfile)) {
    foreach ($data as $key => $value) {
      $row->$key=$value;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#489c3f80]]
$moduleBaseDir 
12[[#489c3f80]]
$baseDir 
21[[#489c3f00]]
module 
22[[#489c3f00]]
folder 
31[[#489c3ee0]]
module 
32[[#489c3ee0]]
element