Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 6 | 3 | 0.974 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 76 | plugins/search/content.php |
2 | 4 | 92 | plugins/search/content.php |
3 | 4 | 64 | plugins/search/newsfeeds.php |
4 | 4 | 78 | plugins/search/newsfeeds.php |
5 | 4 | 69 | plugins/search/weblinks.php |
6 | 4 | 84 | plugins/search/weblinks.php |
| ||||
$text= $db->Quote('%' . $db->getEscaped($text, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.title LIKE ' . $text; $wheres2[]= 'a.introtext LIKE ' . $text; |
| ||||
$word= $db->Quote('%' . $db->getEscaped($word, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.title LIKE ' . $word; $wheres2[]= 'a.introtext LIKE ' . $word; |
| ||||
$text= $db->Quote('%' . $db->getEscaped($text, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.name LIKE ' . $text; $wheres2[]= 'a.link LIKE ' . $text; |
| ||||
$word= $db->Quote('%' . $db->getEscaped($word, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.name LIKE ' . $word; $wheres2[]= 'a.link LIKE ' . $word; |
| ||||
$text= $db->Quote('%' . $db->getEscaped($text, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.url LIKE ' . $text; $wheres2[]= 'a.description LIKE ' . $text; |
| ||||
$word= $db->Quote('%' . $db->getEscaped($word, TRUE) . '%', FALSE); $wheres2= array(); $wheres2[]= 'a.url LIKE ' . $word; $wheres2[]= 'a.description LIKE ' . $word; |
| |||
[[#variable465f9260]]=$db->Quote('%' . $db->getEscaped( [[#variable465f9260]],TRUE) . '%',FALSE); $wheres2=array(); $wheres2[]= [[#variable465f9160]] . [[#variable465f9260]]; $wheres2[]= [[#variable465f91a0]] . [[#variable465f9260]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#465f9260]] | $text |
1 | 2 | [[#465f9260]] | $word |
1 | 3 | [[#465f9260]] | $text |
1 | 4 | [[#465f9260]] | $word |
1 | 5 | [[#465f9260]] | $word |
1 | 6 | [[#465f9260]] | $text |
2 | 1 | [[#465f9160]] | 'a.name LIKE ' |
2 | 2 | [[#465f9160]] | 'a.title LIKE ' |
2 | 3 | [[#465f9160]] | 'a.title LIKE ' |
2 | 4 | [[#465f9160]] | 'a.name LIKE ' |
2 | 5 | [[#465f9160]] | 'a.url LIKE ' |
2 | 6 | [[#465f9160]] | 'a.url LIKE ' |
3 | 1 | [[#465f91a0]] | 'a.link LIKE ' |
3 | 2 | [[#465f91a0]] | 'a.introtext LIKE ' |
3 | 3 | [[#465f91a0]] | 'a.introtext LIKE ' |
3 | 4 | [[#465f91a0]] | 'a.link LIKE ' |
3 | 5 | [[#465f91a0]] | 'a.description LIKE ' |
3 | 6 | [[#465f91a0]] | 'a.description LIKE ' |