| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 31 | 2 | 3 | 0.984 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 31 | 2043 | libraries/simplepie/simplepie.php |
| 2 | 31 | 2079 | 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;
|
| ||||
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;
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5121ffe0]] | $channel |
| 1 | 2 | [[#5121ffe0]] | $image |
| 2 | 1 | [[#5121ff40]] | 'channel' |
| 2 | 2 | [[#5121ff40]] | 'image' |
| 3 | 1 | [[#5121ff80]] | get_feed_tags |
| 3 | 2 | [[#5121ff80]] | get_channel_tags |