CloneSet451


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8340.974statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18104
plugins/search/categories.php
27101
plugins/search/sections.php
38138
plugins/search/weblinks.php
Clone Instance
1
Line Count
8
Source Line
104
Source File
plugins/search/categories.php

        $return=  array();
        foreach ($rows as $key => $category) {
                if (searchHelper::checkNoHTML($category, $searchText, array( 'name', 'title', 'text'
                                                                           )))                         {
                        $return[]=  $category;
                      }
              }
        return $return;


Clone Instance
2
Line Count
7
Source Line
101
Source File
plugins/search/sections.php

        $return=  array();
        foreach ($rows as $key => $section) {
                if (searchHelper::checkNoHTML($section, $searchText, array( 'name', 'title', 'text'
                                                                          )))                         {
                        $return[]=  $section;
                      }
              }
        return $return;


Clone Instance
3
Line Count
8
Source Line
138
Source File
plugins/search/weblinks.php

        $return=  array();
        foreach ($rows as $key => $weblink) {
                if (searchHelper::checkNoHTML($weblink, $searchText, array( 'url', 'text', 'title'
                                                                          )))                        {
                        $return[]=  $weblink;
                      }
              }
        return $return;


Clone AbstractionParameter Count: 4Parameter Bindings

$return=array();
foreach ($rows as $key => [[#variable58c16c60]]) {
  if (searchHelper::checkNoHTML( [[#variable58c16c60]],$searchText,array(  [[#variable58c16c00]],
                                                                           [[#variable58223fc0]],
                                                                           [[#variable58c16bc0]]
                                                                        ))) {
    $return[]= [[#variable58c16c60]];
  }
}
return $return;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58c16c60]]
$weblink 
12[[#58c16c60]]
$section 
13[[#58c16c60]]
$category 
21[[#58c16c00]]
'url' 
22[[#58c16c00]]
'name' 
23[[#58c16c00]]
'name' 
31[[#58223fc0]]
'text' 
32[[#58223fc0]]
'title' 
33[[#58223fc0]]
'title' 
41[[#58c16bc0]]
'title' 
42[[#58c16bc0]]
'text' 
43[[#58c16bc0]]
'text'