CloneSet858


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16123
libraries/joomla/installer/adapters/language.php
26277
libraries/joomla/installer/adapters/language.php
Clone Instance
1
Line Count
6
Source Line
123
Source File
libraries/joomla/installer/adapters/language.php

                // Do we have a meta file in the file list?  In other words... is this a core language pack?
                if ($element instanceof JSimpleXMLElement
                    &&                                       count($element->children())) {
                        $files=  $element->children();
                        foreach ($files as $file) {
                                if ($file->attributes('file') == 'meta') {
                                        $this->_core = TRUE;
                                        break;
                                      }
                              }
                      }


Clone Instance
2
Line Count
6
Source Line
277
Source File
libraries/joomla/installer/adapters/language.php

                // Do we have a meta file in the file list?  In other words... is this a core language pack?
                if ($element instanceof JSimpleXMLElement
                    &&                                       count($element->children())) {
                        $files=  $element->children();
                        foreach ($files as $file) {
                                if ($file->attributes('file') == 'meta') {
                                        $this->_core = TRUE;
                                        break;
                                      }
                              }
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

// Do we have a meta file in the file list?  In other words... is this a core language pack?
if ($element instanceof JSimpleXMLElement
    && count($element->children())) {
  $files=$element->children();
  foreach ($files as $file) {
    if ($file->attributes('file') == 'meta') {
      $this->_core =TRUE;
      break;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None