CloneSet179


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4630.974statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1476
plugins/search/content.php
2492
plugins/search/content.php
3464
plugins/search/newsfeeds.php
4478
plugins/search/newsfeeds.php
5469
plugins/search/weblinks.php
6484
plugins/search/weblinks.php
Clone Instance
1
Line Count
4
Source Line
76
Source File
plugins/search/content.php

                        $text=            $db->Quote('%'
                                                     .   $db->getEscaped($text, TRUE)
                                                     .                                '%', FALSE);
                        $wheres2=         array();
                        $wheres2[]=       'a.title LIKE '
                                          .               $text;
                        $wheres2[]=       'a.introtext LIKE '
                                          .                   $text;


Clone Instance
2
Line Count
4
Source Line
92
Source File
plugins/search/content.php

                                $word=            $db->Quote('%'
                                                             .   $db->getEscaped($word, TRUE)
                                                             .                                '%', FALSE);
                                $wheres2=         array();
                                $wheres2[]=       'a.title LIKE '
                                                  .               $word;
                                $wheres2[]=       'a.introtext LIKE '
                                                  .                   $word;


Clone Instance
3
Line Count
4
Source Line
64
Source File
plugins/search/newsfeeds.php

                        $text=            $db->Quote('%'
                                                     .   $db->getEscaped($text, TRUE)
                                                     .                                '%', FALSE);
                        $wheres2=         array();
                        $wheres2[]=       'a.name LIKE '
                                          .              $text;
                        $wheres2[]=       'a.link LIKE '
                                          .              $text;


Clone Instance
4
Line Count
4
Source Line
78
Source File
plugins/search/newsfeeds.php

                                $word=            $db->Quote('%'
                                                             .   $db->getEscaped($word, TRUE)
                                                             .                                '%', FALSE);
                                $wheres2=         array();
                                $wheres2[]=       'a.name LIKE '
                                                  .              $word;
                                $wheres2[]=       'a.link LIKE '
                                                  .              $word;


Clone Instance
5
Line Count
4
Source Line
69
Source File
plugins/search/weblinks.php

                        $text=            $db->Quote('%'
                                                     .   $db->getEscaped($text, TRUE)
                                                     .                                '%', FALSE);
                        $wheres2=         array();
                        $wheres2[]=       'a.url LIKE '
                                          .             $text;
                        $wheres2[]=       'a.description LIKE '
                                          .                     $text;


Clone Instance
6
Line Count
4
Source Line
84
Source File
plugins/search/weblinks.php

                                $word=            $db->Quote('%'
                                                             .   $db->getEscaped($word, TRUE)
                                                             .                                '%', FALSE);
                                $wheres2=         array();
                                $wheres2[]=       'a.url LIKE '
                                                  .             $word;
                                $wheres2[]=       'a.description LIKE '
                                                  .                     $word;


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable465f9260]]=$db->Quote('%'
                                  . $db->getEscaped( [[#variable465f9260]],TRUE)
                                  . '%',FALSE);
$wheres2=array();
$wheres2[]= [[#variable465f9160]]
           .  [[#variable465f9260]];
$wheres2[]= [[#variable465f91a0]]
           .  [[#variable465f9260]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#465f9260]]
$text 
12[[#465f9260]]
$word 
13[[#465f9260]]
$text 
14[[#465f9260]]
$word 
15[[#465f9260]]
$word 
16[[#465f9260]]
$text 
21[[#465f9160]]
'a.name LIKE ' 
22[[#465f9160]]
'a.title LIKE ' 
23[[#465f9160]]
'a.title LIKE ' 
24[[#465f9160]]
'a.name LIKE ' 
25[[#465f9160]]
'a.url LIKE ' 
26[[#465f9160]]
'a.url LIKE ' 
31[[#465f91a0]]
'a.link LIKE ' 
32[[#465f91a0]]
'a.introtext LIKE ' 
33[[#465f91a0]]
'a.introtext LIKE ' 
34[[#465f91a0]]
'a.link LIKE ' 
35[[#465f91a0]]
'a.description LIKE ' 
36[[#465f91a0]]
'a.description LIKE '