CloneSet284


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8260.988statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181353
libraries/bitfolge/feedcreator.php
281435
libraries/bitfolge/feedcreator.php
Clone Instance
1
Line Count
8
Source Line
1353
Source File
libraries/bitfolge/feedcreator.php

                        $feed.= "        <title>"
                                .                 htmlspecialchars(strip_tags($this->items[$i]->title))
                                .                                                                       "</title>\n";
                        $feed.= "        <link rel=\"alternate\" type=\"text/html\" href=\""
                                .                                                            htmlspecialchars($this->items[$i]->link)
                                .                                                                                                     "\"/>\n";
                        if ($this->items[$i]->date == "") {
                                $this->items[$i]->date = time();
                              }
                        $itemDate=  new FeedDate($this->items[$i]->date);
                        $feed.= "        <published>"
                                .                     htmlspecialchars($itemDate->iso8601())
                                .                                                            "</published>\n";
                        $feed.= "        <updated>"
                                .                   htmlspecialchars($itemDate->iso8601())
                                .                                                          "</updated>\n";


Clone Instance
2
Line Count
8
Source Line
1435
Source File
libraries/bitfolge/feedcreator.php

                        $feed.= "\t\t<title>"
                                .                        htmlspecialchars(strip_tags($this->items[$i]->title))
                                .                                                                              "</title>\n";
                        $feed.= "\t\t<link rel=\"alternate\" type=\"text/html\" href=\""
                                .                                                                   htmlspecialchars($this->items[$i]->link)
                                .                                                                                                            "\"/>\n";
                        if ($this->items[$i]->date == "") {
                                $this->items[$i]->date = time();
                              }
                        $itemDate=  new FeedDate($this->items[$i]->date);
                        $feed.= "\t\t<created>"
                                .                          htmlspecialchars($itemDate->iso8601())
                                .                                                                 "</created>\n";
                        $feed.= "\t\t<issued>"
                                .                         htmlspecialchars($itemDate->iso8601())
                                .                                                                "</issued>\n";


Clone AbstractionParameter Count: 6Parameter Bindings

$feed.= [[#variable24bf1520]]
       . htmlspecialchars(strip_tags($this->items[$i]->title))
       . "</title>\n";
$feed.= [[#variable24bf1460]]
       . htmlspecialchars($this->items[$i]->link)
       . "\"/>\n";
if ($this->items[$i]->date == "") {
  $this->items[$i]->date =time();
}
$itemDate=new FeedDate($this->items[$i]->date);
$feed.= [[#variable24bf13e0]]
       . htmlspecialchars($itemDate->iso8601())
       .  [[#variable24bf1300]];
$feed.= [[#variable24bf1360]]
       . htmlspecialchars($itemDate->iso8601())
       .  [[#variable24bf12e0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24bf1520]]
"\t\t<title>" 
12[[#24bf1520]]
"        <title>" 
21[[#24bf1460]]
"\t\t<link rel=\"alternate\" type=\"text/html\" href=\"" 
22[[#24bf1460]]
"        <link rel=\"alternate\" type=\"text/html\" href=\"" 
31[[#24bf13e0]]
"\t\t<created>" 
32[[#24bf13e0]]
"        <published>" 
41[[#24bf1300]]
"</created>\n" 
42[[#24bf1300]]
"</published>\n" 
51[[#24bf1360]]
"\t\t<issued>" 
52[[#24bf1360]]
"        <updated>" 
61[[#24bf12e0]]
"</issued>\n" 
62[[#24bf12e0]]
"</updated>\n"