Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 2235 | libraries/simplepie/simplepie.php |
2 | 20 | 3188 | 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]); } |
| ||||
$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]); } |
| |||
$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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |