CloneSet287


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15240.952statement_sequence[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11563
components/com_contact/views/category/view.feed.php
21547
components/com_weblinks/views/category/view.feed.php
Clone Instance
1
Line Count
15
Source Line
63
Source File
components/com_contact/views/category/view.feed.php

                        $title=  html_entity_decode($title);

                        // url link to article
                        $link=  JRoute::_('index.php?option=com_contact&view=contact&id='
                                          .                                                $row->slug
                                          .                                                            '&catid='
                                          .                                                                      $row->catslug);
                        // strip html from feed item description text
                        $description=  $row->description;
                        $date=  ($row->date
                                 ?            date('r', strtotime($row->date))
                                 :                                               '');
                        // load individual item creator class
                        $item=  new JFeedItem();
                        $item->title =            $title;
                        $item->link =             $link;
                        $item->description =      $description;
                        $item->date =                     $date;


Clone Instance
2
Line Count
15
Source Line
47
Source File
components/com_weblinks/views/category/view.feed.php

                        $title=  html_entity_decode($title);

                        // url link to article
                        $link=  JRoute::_('index.php?option=com_weblinks&view=weblink&id='
                                          .                                                 $item->id);
                        // strip html from feed item description text
                        $description=  $item->description;
                        $date=  ($item->date
                                 ?             date('r', strtotime($item->date))
                                 :                                                 '');
                        // load individual item creator class
                        $feeditem=  new JFeedItem();
                        $feeditem->title =                $title;
                        $feeditem->link =                 $link;
                        $feeditem->description =  $description;
                        $feeditem->date =                 $date;


Clone AbstractionParameter Count: 4Parameter Bindings

$title=html_entity_decode($title);
// url link to article
$link=JRoute::_( [[#variable5123e0a0]]
                .  [[#variable5007bfc0]]-> [[#variable21f19d20]]);
// strip html from feed item description text
$description= [[#variable5007bfc0]]->description;
$date=( [[#variable5007bfc0]]->date
       ? date('r',strtotime( [[#variable5007bfc0]]->date))
       : '');
 [[#variable5123e020]]=new JFeedItem();
 [[#variable5123e020]]->title =$title;
 [[#variable5123e020]]->link =$link;
 [[#variable5123e020]]->description =$description;
 [[#variable5123e020]]->date =$date;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5123e0a0]]
'index.php?option=com_weblinks&view=weblink&id=' 
12[[#5123e0a0]]
'index.php?option=com_contact&view=contact&id='
. $row->slug
. '&catid=' 
21[[#5007bfc0]]
$item 
22[[#5007bfc0]]
$row 
31[[#21f19d20]]
id 
32[[#21f19d20]]
catslug 
41[[#5123e020]]
// load individual item creator class
$feeditem 
42[[#5123e020]]
// load individual item creator class
$item