CloneSet332


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.995statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11039
components/com_content/views/category/view.feed.php
2939
components/com_content/views/frontpage/view.feed.php
Clone Instance
1
Line Count
10
Source Line
39
Source File
components/com_content/views/category/view.feed.php

                        // strip html from feed item title
                        $title=  $this->escape($row->title);
                        $title=  html_entity_decode($title);

                        // url link to article
                        // & used instead of & as this is converted by feed creator
                        $link=  JRoute::_(ContentHelperRoute::getArticleRoute($row->slug ,$row->catslug ,$row->sectionid));

                        // strip html from feed item description text
                        $description=     ($params->get('feed_summary', 0)
                                           ?                                 $row->introtext
                                                                             .               $row->fulltext
                                           :                                                                  $row->introtext);
                        $author=                  $row->created_by_alias
                                                  ?                        $row->created_by_alias
                                                  :                                                 $row->author;


Clone Instance
2
Line Count
9
Source Line
39
Source File
components/com_content/views/frontpage/view.feed.php

                        // strip html from feed item title
                        $title=  $this->escape($row->title);
                        $title=  html_entity_decode($title);

                        // url link to article
                        $link=  JRoute::_(ContentRoute::article($row->slug ,$row->catslug ,$row->sectionid));

                        // strip html from feed item description text
                        $description=     ($params->get('feed_summary', 0)
                                           ?                                 $row->introtext
                                                                             .               $row->fulltext
                                           :                                                                  $row->introtext);
                        $author=                  $row->created_by_alias
                                                  ?                        $row->created_by_alias
                                                  :                                                 $row->author;


Clone AbstractionParameter Count: 2Parameter Bindings

// strip html from feed item title
$title=$this->escape($row->title);
$title=html_entity_decode($title);
// url link to article
// & used instead of & as this is converted by feed creator
$link=JRoute::_( [[#variable48507840]]:: [[#variable485078a0]]($row->slug ,$row->catslug ,$row->sectionid));
// strip html from feed item description text
$description=($params->get('feed_summary',0)
              ? $row->introtext
                . $row->fulltext
              : $row->introtext);
$author=$row->created_by_alias
        ? $row->created_by_alias
        : $row->author;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#48507840]]
ContentHelperRoute 
12[[#48507840]]
ContentRoute 
21[[#485078a0]]
getArticleRoute 
22[[#485078a0]]
article