CloneSet461


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.994toplevel_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11068
plugins/authentication/openid/Auth/OpenID/URINorm.php
21026
plugins/authentication/openid/Auth/Yadis/XRI.php
Clone Instance
1
Line Count
10
Source Line
68
Source File
plugins/authentication/openid/Auth/OpenID/URINorm.php

function Auth_OpenID_getEscapeRE() {

    $parts=  array();
    foreach (array_merge(Auth_Yadis_getUCSChars(),
                         Auth_Yadis_getIPrivateChars()) as $pair) {
        list ($m, $n)= $pair;
        $parts[]=  sprintf("%s-%s", chr($m), chr($n));
      }

    return sprintf('[%s]', implode('', $parts));
  }


Clone Instance
2
Line Count
10
Source Line
26
Source File
plugins/authentication/openid/Auth/Yadis/XRI.php

function Auth_Yadis_getEscapeRE() {

    $parts=  array();
    foreach (array_merge(Auth_Yadis_getUCSChars(),
                         Auth_Yadis_getIPrivateChars()) as $pair) {
        list ($m, $n)= $pair;
        $parts[]=  sprintf("%s-%s", chr($m), chr($n));
      }

    return sprintf('/[%s]/', implode('', $parts));
  }


Clone AbstractionParameter Count: 2Parameter Bindings

function [[#variable58c70aa0]]() {
  $parts=array();
  foreach (array_merge(Auth_Yadis_getUCSChars(),Auth_Yadis_getIPrivateChars()) as $pair) {
    list ($m,$n)=$pair;
    $parts[]=sprintf("%s-%s",chr($m),chr($n));
  }
  return sprintf( [[#variable58c709a0]],implode('',$parts));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58c70aa0]]
Auth_Yadis_getEscapeRE 
12[[#58c70aa0]]
Auth_OpenID_getEscapeRE 
21[[#58c709a0]]
'/[%s]/' 
22[[#58c709a0]]
'[%s]'