CloneSet338


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11196
libraries/joomla/updater/adapters/extension.php
211153
libraries/joomla/updater/update.php
Clone Instance
1
Line Count
11
Source Line
96
Source File
libraries/joomla/updater/adapters/extension.php

                xml_set_element_handler($this->xml_parser ,'_startElement', '_endElement');
                xml_set_character_data_handler($this->xml_parser ,'_characterData');

                while ($data=  fread($fp, 8192)) {
                    if (!xml_parse($this->xml_parser ,$data, feof($fp))) {
                        exit (sprintf("XML error: %s at line %d",
                                      xml_error_string(xml_get_error_code($this->xml_parser)),
                                      xml_get_current_line_number($this->xml_parser)));
                      }
                  }
                xml_parser_free($this->xml_parser);


Clone Instance
2
Line Count
11
Source Line
153
Source File
libraries/joomla/updater/update.php

                xml_set_element_handler($this->xml_parser ,'_startElement', '_endElement');
                xml_set_character_data_handler($this->xml_parser ,'_characterData');

                while ($data=  fread($fp, 8192)) {
                    if (!xml_parse($this->xml_parser ,$data, feof($fp))) {
                        exit (sprintf("XML error: %s at line %d",
                                      xml_error_string(xml_get_error_code($this->xml_parser)),
                                      xml_get_current_line_number($this->xml_parser)));
                      }
                  }
                xml_parser_free($this->xml_parser);


Clone AbstractionParameter Count: 0Parameter Bindings

xml_set_element_handler($this->xml_parser ,'_startElement','_endElement');
xml_set_character_data_handler($this->xml_parser ,'_characterData');
while ($data=fread($fp,8192)) {
  if (!xml_parse($this->xml_parser ,$data,feof($fp))) {
    exit (sprintf("XML error: %s at line %d",xml_error_string(xml_get_error_code($this->xml_parser)),xml_get_current_line_number($this->xml_parser)));
  }
}
xml_parser_free($this->xml_parser);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None