CloneSet1252


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.979statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18106
plugins/authentication/openid/Auth/OpenID/MemcachedStore.php
28134
plugins/authentication/openid/Auth/OpenID/MemcachedStore.php
Clone Instance
1
Line Count
8
Source Line
106
Source File
plugins/authentication/openid/Auth/OpenID/MemcachedStore.php

        // get list of associations
        $serverAssociations=  $this->connection->get($serverKey);
        // return null if failed or got empty list
        if (!$serverAssociations) {
            return NULL;
          }

        // get key of most recently issued association
        $keys=  array_keys($serverAssociations);


Clone Instance
2
Line Count
8
Source Line
134
Source File
plugins/authentication/openid/Auth/OpenID/MemcachedStore.php

        // get list of associations
        $serverAssociations=  $this->connection->get($serverKey);
        // return null if failed or got empty list
        if (!$serverAssociations) {
            return FALSE;
          }

        // ensure that given association key exists in list
        $serverAssociations=  array_flip($serverAssociations);


Clone AbstractionParameter Count: 3Parameter Bindings

// get list of associations
$serverAssociations=$this->connection->get($serverKey);
// return null if failed or got empty list
if (!$serverAssociations) {
  return [[#variable20a60660]];
}
 [[#variable20a605e0]]= [[#variable20a605c0]]($serverAssociations);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20a60660]]
FALSE 
12[[#20a60660]]
NULL 
21[[#20a605e0]]
// ensure that given association key exists in list
$serverAssociations 
22[[#20a605e0]]
// get key of most recently issued association
$keys 
31[[#20a605c0]]
array_flip 
32[[#20a605c0]]
array_keys