CloneSet362


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.995statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11054
administrator/components/com_installer/models/languages.php
21066
administrator/components/com_installer/models/languages.php
Clone Instance
1
Line Count
10
Source Line
54
Source File
administrator/components/com_installer/models/languages.php

                        // Get the site languages
                        $langBDir=  JLanguage::getLanguagePath(JPATH_SITE);
                        $langDirs=  JFolder::folders($langBDir);

                        for ($i=0; $i<  count($langDirs); $i ++)
                        {
                                $lang=  new stdClass();
                                $lang->folder = $langDirs[$i];
                                $lang->client = 0;
                                $lang->baseDir = $langBDir;
                                $languages[]=  $lang;
                              }


Clone Instance
2
Line Count
10
Source Line
66
Source File
administrator/components/com_installer/models/languages.php

                        // Get the admin languages
                        $langBDir=  JLanguage::getLanguagePath(JPATH_ADMINISTRATOR);
                        $langDirs=  JFolder::folders($langBDir);

                        for ($i=0; $i<  count($langDirs); $i ++)
                        {
                                $lang=  new stdClass();
                                $lang->folder = $langDirs[$i];
                                $lang->client = 1;
                                $lang->baseDir = $langBDir;
                                $languages[]=  $lang;
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

// Get the admin languages
// Get the site languages
$langBDir=JLanguage::getLanguagePath( [[#variable5854bda0]]);
$langDirs=JFolder::folders($langBDir);
for ($i=0; $i<count($langDirs); $i ++) {
  $lang=new stdClass();
  $lang->folder =$langDirs[$i];
  $lang->client = [[#variable3f9dda20]];
  $lang->baseDir =$langBDir;
  $languages[]=$lang;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5854bda0]]
JPATH_ADMINISTRATOR 
12[[#5854bda0]]
JPATH_SITE 
21[[#3f9dda20]]
1 
22[[#3f9dda20]]
0