CloneSet127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6410.951foreach_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
162201
libraries/simplepie/simplepie.php
262212
libraries/simplepie/simplepie.php
363151
libraries/simplepie/simplepie.php
463160
libraries/simplepie/simplepie.php
Clone Instance
1
Line Count
6
Source Line
2201
Source File
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));
                                              }
                                      }


Clone Instance
2
Line Count
6
Source Line
2212
Source File
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));
                                              }
                                      }


Clone Instance
3
Line Count
6
Source Line
3151
Source File
libraries/simplepie/simplepie.php

                        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));
                                      }
                              }


Clone Instance
4
Line Count
6
Source Line
3160
Source File
libraries/simplepie/simplepie.php

                        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));
                                      }
                              }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5235cf00]]
$links 
12[[#5235cf00]]
(array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10,'link') 
13[[#5235cf00]]
(array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_03,'link') 
14[[#5235cf00]]
$links