Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 1 | 0.988 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 429 | plugins/authentication/openid/Auth/OpenID/Discover.php |
2 | 2 | 400 | plugins/authentication/openid/Auth/OpenID/TrustRoot.php |
3 | 2 | 139 | plugins/authentication/openid/Auth/Yadis/Yadis.php |
| ||||
// Discover OpenID services for a URI. Tries Yadis and falls back // on old-style <link rel='...'> discovery if Yadis fails. // Might raise a yadis.discover.DiscoveryFailure if no document // came back for that URI at all. I don't think falling back to // OpenID 1.0 discovery on the same URL will help, so don't bother // to catch it. if ($discover_function === NULL) { $discover_function= array( 'Auth_Yadis_Yadis', 'discover' ); } |
| ||||
if ($discover_function === NULL) { $discover_function= array( 'Auth_Yadis_Yadis', 'discover' ); } |
| ||||
if ($discover_func === NULL) { $discover_function= array( 'Auth_Yadis_Yadis', 'discover' ); } |
| |||
// Discover OpenID services for a URI. Tries Yadis and falls back // on old-style <link rel='...'> discovery if Yadis fails. // Might raise a yadis.discover.DiscoveryFailure if no document // came back for that URI at all. I don't think falling back to // OpenID 1.0 discovery on the same URL will help, so don't bother // to catch it. if ( [[#variable586e7c00]]=== NULL) { $discover_function=array( 'Auth_Yadis_Yadis', 'discover' ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#586e7c00]] | $discover_function |
1 | 2 | [[#586e7c00]] | $discover_func |
1 | 3 | [[#586e7c00]] | $discover_function |