| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.968 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 297 | plugins/authentication/openid/Auth/Yadis/XRDS.php |
| 2 | 4 | 318 | plugins/authentication/openid/Auth/Yadis/XRDS.php |
| ||||
// Try to get root element.
$root= $parser->evalXPath('/xrds:XRDS[1]');
if (!$root) {
return $_null;
}
|
| ||||
// Get the last XRD node.
$xrd_nodes= $parser->evalXPath('/xrds:XRDS[1]/xrd:XRD');
if (!$xrd_nodes) {
return $_null;
}
|
| |||
[[#variable522de740]]=$parser->evalXPath( [[#variable522de0e0]]);
if (! [[#variable522de740]]) {
return $_null;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#522de740]] | // Try to get root element. $root |
| 1 | 2 | [[#522de740]] | // Get the last XRD node. $xrd_nodes |
| 2 | 1 | [[#522de0e0]] | '/xrds:XRDS[1]' |
| 2 | 2 | [[#522de0e0]] | '/xrds:XRDS[1]/xrd:XRD' |