CloneSet1436


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2310.988if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12429
plugins/authentication/openid/Auth/OpenID/Discover.php
22400
plugins/authentication/openid/Auth/OpenID/TrustRoot.php
32139
plugins/authentication/openid/Auth/Yadis/Yadis.php
Clone Instance
1
Line Count
2
Source Line
429
Source File
plugins/authentication/openid/Auth/OpenID/Discover.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'
                                  );
      }


Clone Instance
2
Line Count
2
Source Line
400
Source File
plugins/authentication/openid/Auth/OpenID/TrustRoot.php

    if ($discover_function === NULL) {
        $discover_function=  array( 'Auth_Yadis_Yadis', 'discover'
                                  );
      }


Clone Instance
3
Line Count
2
Source Line
139
Source File
plugins/authentication/openid/Auth/Yadis/Yadis.php

    if ($discover_func === NULL) {
        $discover_function=  array( 'Auth_Yadis_Yadis', 'discover'
                                  );
      }


Clone AbstractionParameter Count: 1Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#586e7c00]]
$discover_function 
12[[#586e7c00]]
$discover_func 
13[[#586e7c00]]
$discover_function