Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.994 | toplevel_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 68 | plugins/authentication/openid/Auth/OpenID/URINorm.php |
2 | 10 | 26 | plugins/authentication/openid/Auth/Yadis/XRI.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)); } |
| ||||
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)); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58c70aa0]] | Auth_Yadis_getEscapeRE |
1 | 2 | [[#58c70aa0]] | Auth_OpenID_getEscapeRE |
2 | 1 | [[#58c709a0]] | '/[%s]/' |
2 | 2 | [[#58c709a0]] | '[%s]' |