CloneSet143


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31230.984statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1312043
libraries/simplepie/simplepie.php
2312079
libraries/simplepie/simplepie.php
Clone Instance
1
Line Count
31
Source Line
2043
Source File
libraries/simplepie/simplepie.php

                if ($type&  SIMPLEPIE_TYPE_RSS_10)
                {
                        if ($channel=  $this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_10, 'channel'))
                        {
                                if ( isset ($channel[0]['child'][$namespace][$tag]))
                                {
                                        return $channel[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                if ($type&  SIMPLEPIE_TYPE_RSS_090)
                {
                        if ($channel=  $this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_090, 'channel'))
                        {
                                if ( isset ($channel[0]['child'][$namespace][$tag]))
                                {
                                        return $channel[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                if ($type&  SIMPLEPIE_TYPE_RSS_SYNDICATION)
                {
                        if ($channel=  $this->get_feed_tags('', 'channel'))
                        {
                                if ( isset ($channel[0]['child'][$namespace][$tag]))
                                {
                                        return $channel[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                return NULL;


Clone Instance
2
Line Count
31
Source Line
2079
Source File
libraries/simplepie/simplepie.php

                if ($type&  SIMPLEPIE_TYPE_RSS_10)
                {
                        if ($image=  $this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_10, 'image'))
                        {
                                if ( isset ($image[0]['child'][$namespace][$tag]))
                                {
                                        return $image[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                if ($type&  SIMPLEPIE_TYPE_RSS_090)
                {
                        if ($image=  $this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_090, 'image'))
                        {
                                if ( isset ($image[0]['child'][$namespace][$tag]))
                                {
                                        return $image[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                if ($type&  SIMPLEPIE_TYPE_RSS_SYNDICATION)
                {
                        if ($image=  $this->get_channel_tags('', 'image'))
                        {
                                if ( isset ($image[0]['child'][$namespace][$tag]))
                                {
                                        return $image[0]['child'][$namespace][$tag];
                                      }
                              }
                      }
                return NULL;


Clone AbstractionParameter Count: 3Parameter Bindings

if ($type&SIMPLEPIE_TYPE_RSS_10) {
  if ( [[#variable5121ffe0]]=$this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_10, [[#variable5121ff40]])) {
    if ( isset ( [[#variable5121ffe0]][0]['child'][$namespace][$tag])) {
      return [[#variable5121ffe0]][0]['child'][$namespace][$tag];
    }
  }
}
if ($type&SIMPLEPIE_TYPE_RSS_090) {
  if ( [[#variable5121ffe0]]=$this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_090, [[#variable5121ff40]])) {
    if ( isset ( [[#variable5121ffe0]][0]['child'][$namespace][$tag])) {
      return [[#variable5121ffe0]][0]['child'][$namespace][$tag];
    }
  }
}
if ($type&SIMPLEPIE_TYPE_RSS_SYNDICATION) {
  if ( [[#variable5121ffe0]]=$this-> [[#variable5121ff80]]('', [[#variable5121ff40]])) {
    if ( isset ( [[#variable5121ffe0]][0]['child'][$namespace][$tag])) {
      return [[#variable5121ffe0]][0]['child'][$namespace][$tag];
    }
  }
}
return NULL;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5121ffe0]]
$channel 
12[[#5121ffe0]]
$image 
21[[#5121ff40]]
'channel' 
22[[#5121ff40]]
'image' 
31[[#5121ff80]]
get_feed_tags 
32[[#5121ff80]]
get_channel_tags