CloneSet130


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1202235
libraries/simplepie/simplepie.php
2203188
libraries/simplepie/simplepie.php
Clone Instance
1
Line Count
20
Source Line
2235
Source File
libraries/simplepie/simplepie.php

                        $keys=  array_keys($this->data['links']);
                        foreach ($keys as $key)
                        {
                                if (SimplePie_Misc::is_isegment_nz_nc($key))
                                {
                                        if ( isset ($this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                         .                                        $key])) {
                                                $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                     .                                        $key]=  array_merge($this->data['links'][$key], $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                                                                                                                                   .                                        $key]);
                                                $this->data['links'][$key]=  &$this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                                                   .                                        $key];
                                              }
                                        else {
                                                $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                     .                                        $key]=  &$this->data['links'][$key];
                                              }
                                      }
                                elseif (substr($key, 0, 41) == SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY)
                                {
                                        $this->data['links'][substr($key, 41)]=  &$this->data['links'][$key];
                                      }
                                $this->data['links'][$key]=  array_unique($this->data['links'][$key]);
                              }


Clone Instance
2
Line Count
20
Source Line
3188
Source File
libraries/simplepie/simplepie.php

                        $keys=  array_keys($this->data['links']);
                        foreach ($keys as $key)
                        {
                                if (SimplePie_Misc::is_isegment_nz_nc($key))
                                {
                                        if ( isset ($this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                         .                                        $key])) {
                                                $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                     .                                        $key]=  array_merge($this->data['links'][$key], $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                                                                                                                                   .                                        $key]);
                                                $this->data['links'][$key]=  &$this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                                                   .                                        $key];
                                              }
                                        else {
                                                $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                     .                                        $key]=  &$this->data['links'][$key];
                                              }
                                      }
                                elseif (substr($key, 0, 41) == SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY)
                                {
                                        $this->data['links'][substr($key, 41)]=  &$this->data['links'][$key];
                                      }
                                $this->data['links'][$key]=  array_unique($this->data['links'][$key]);
                              }


Clone AbstractionParameter Count: 0Parameter Bindings

$keys=array_keys($this->data['links']);
foreach ($keys as $key) {
  if (SimplePie_Misc::is_isegment_nz_nc($key)) {
    if ( isset ($this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                     . $key])) {
      $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                           . $key]=array_merge($this->data['links'][$key],$this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                                                               . $key]);
      $this->data['links'][$key]= &$this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                                                        . $key];
    }
    else {
      $this->data['links'][SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY
                           . $key]= &$this->data['links'][$key];
    }
  }
  elseif (substr($key,0,41) == SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY) {
    $this->data['links'][substr($key,41)]= &$this->data['links'][$key];
  }
  $this->data['links'][$key]=array_unique($this->data['links'][$key]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None