Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 1 | 0.951 | foreach_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2201 | libraries/simplepie/simplepie.php |
2 | 6 | 2212 | libraries/simplepie/simplepie.php |
3 | 6 | 3151 | libraries/simplepie/simplepie.php |
4 | 6 | 3160 | libraries/simplepie/simplepie.php |
| ||||
foreach ($links as $link) { if ( isset ($link['attribs']['']['href'])) { $link_rel= ( isset ($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate'; $this->data['links'][$link_rel][]= $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link)); } } |
| ||||
foreach ($links as $link) { if ( isset ($link['attribs']['']['href'])) { $link_rel= ( isset ($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate'; $this->data['links'][$link_rel][]= $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link)); } } |
| ||||
foreach ( (array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'link') as $link) { if ( isset ($link['attribs']['']['href'])) { $link_rel= ( isset ($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate'; $this->data['links'][$link_rel][]= $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link)); } } |
| ||||
foreach ( (array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_03, 'link') as $link) { if ( isset ($link['attribs']['']['href'])) { $link_rel= ( isset ($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate'; $this->data['links'][$link_rel][]= $this->sanitize($link['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($link)); } } |
| |||
foreach ( [[#variable5235cf00]]as $link) { if ( isset ($link['attribs']['']['href'])) { $link_rel=( isset ($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate'; $this->data['links'][$link_rel][]=$this->sanitize($link['attribs']['']['href'],SIMPLEPIE_CONSTRUCT_IRI,$this->get_base($link)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5235cf00]] | $links |
1 | 2 | [[#5235cf00]] | (array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10,'link') |
1 | 3 | [[#5235cf00]] | (array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_03,'link') |
1 | 4 | [[#5235cf00]] | $links |