CloneSet1833


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.968class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192054
libraries/phpxmlrpc/xmlrpc.php
291162
libraries/phpxmlrpc/xmlrpcs.php
Clone Instance
1
Line Count
9
Source Line
2054
Source File
libraries/phpxmlrpc/xmlrpc.php

                /**
                * @access private
                */
                function xml_header($charset_encoding='') {

                        if ($charset_encoding != '')
                        {
                                return "<?xml version=\"1.0\" encoding=\"$charset_encoding\" ?"
                                       .                                                          ">\n<methodCall>\n";
                              }
                        else {
                                return "<?xml version=\"1.0\"?"
                                       .                          ">\n<methodCall>\n";
                              }
                      }


Clone Instance
2
Line Count
9
Source Line
1162
Source File
libraries/phpxmlrpc/xmlrpcs.php

                /**
                * @access private
                */
                function xml_header($charset_encoding='') {

                        if ($charset_encoding != '')
                        {
                                return "<?xml version=\"1.0\" encoding=\"$charset_encoding\"?"
                                       .                                                         ">\n";
                              }
                        else {
                                return "<?xml version=\"1.0\"?"
                                       .                          ">\n";
                              }
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
                * @access private
                */
function xml_header($charset_encoding='') {
  if ($charset_encoding != '') {
    return "<?xml version=\"1.0\" encoding=\"$charset_encoding [[#variable44e21aa0]]
           .  [[#variable44e21be0]];
  }
  else {
    return "<?xml version=\"1.0\"?"
           .  [[#variable44e21be0]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#44e21aa0]]
\" ?" 
12[[#44e21aa0]]
\"?" 
21[[#44e21be0]]
">\n<methodCall>\n" 
22[[#44e21be0]]
">\n"