CloneSet393


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116106
libraries/phpxmlrpc/xmlrpcs.php
216159
libraries/phpxmlrpc/xmlrpcs.php
Clone Instance
1
Line Count
16
Source Line
106
Source File
libraries/phpxmlrpc/xmlrpcs.php

                // let accept as parameter both an xmlrpcval or string
                if (is_object($m))
                {
                        $methName=$m->getParam(0);
                        $methName=$methName->scalarval();
                      }
                else
                {
                        $methName=$m;
                      }
                if (strpos($methName, "system.") === 0)
                {
                        $dmap=$GLOBALS['_xmlrpcs_dmap']; $sysCall=1;
                      }
                else
                {
                        $dmap=$server->dmap; $sysCall=0;
                      }


Clone Instance
2
Line Count
16
Source Line
159
Source File
libraries/phpxmlrpc/xmlrpcs.php

                // let accept as parameter both an xmlrpcval or string
                if (is_object($m))
                {
                        $methName=$m->getParam(0);
                        $methName=$methName->scalarval();
                      }
                else
                {
                        $methName=$m;
                      }
                if (strpos($methName, "system.") === 0)
                {
                        $dmap=$GLOBALS['_xmlrpcs_dmap']; $sysCall=1;
                      }
                else
                {
                        $dmap=$server->dmap; $sysCall=0;
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

// let accept as parameter both an xmlrpcval or string
if (is_object($m)) {
  $methName=$m->getParam(0);
  $methName=$methName->scalarval();
}
else {
  $methName=$m;
}
if (strpos($methName,"system.") === 0) {
  $dmap=$GLOBALS['_xmlrpcs_dmap'];
  $sysCall=1;
}
else {
  $dmap=$server->dmap;
  $sysCall=0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None