CloneSet107


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15520.995statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11548
plugins/search/categories.php
21543
plugins/search/contacts.php
31544
plugins/search/newsfeeds.php
41547
plugins/search/sections.php
51547
plugins/search/weblinks.php
Clone Instance
1
Line Count
15
Source Line
48
Source File
plugins/search/categories.php

        if (is_array($areas)) {
                if (!array_intersect($areas, array_keys(plgSearchCategoryAreas()))) {
                        return array();
                      }
              }

        // load plugin params info
        $plugin=  &JPluginHelper::getPlugin('search', 'categories');
        $pluginParams=  new JParameter($plugin->params);

        $limit=  $pluginParams->def('search_limit', 50);

        $text=  trim($text);
        if ($text == '') {
                return array();
              }


Clone Instance
2
Line Count
15
Source Line
43
Source File
plugins/search/contacts.php

        if (is_array($areas)) {
                if (!array_intersect($areas, array_keys(plgSearchContactAreas()))) {
                        return array();
                      }
              }

        // load plugin params info
        $plugin=  &JPluginHelper::getPlugin('search', 'contacts');
        $pluginParams=  new JParameter($plugin->params);

        $limit=  $pluginParams->def('search_limit', 50);

        $text=  trim($text);
        if ($text == '') {
                return array();
              }


Clone Instance
3
Line Count
15
Source Line
44
Source File
plugins/search/newsfeeds.php

        if (is_array($areas)) {
                if (!array_intersect($areas, array_keys(plgSearchNewsfeedAreas()))) {
                        return array();
                      }
              }

        // load plugin params info
        $plugin=  &JPluginHelper::getPlugin('search', 'newsfeeds');
        $pluginParams=  new JParameter($plugin->params);

        $limit=  $pluginParams->def('search_limit', 50);

        $text=  trim($text);
        if ($text == '') {
                return array();
              }


Clone Instance
4
Line Count
15
Source Line
47
Source File
plugins/search/sections.php

        if (is_array($areas)) {
                if (!array_intersect($areas, array_keys(plgSearchSectionAreas()))) {
                        return array();
                      }
              }

        // load plugin params info
        $plugin=  &JPluginHelper::getPlugin('search', 'sections');
        $pluginParams=  new JParameter($plugin->params);

        $limit=  $pluginParams->def('search_limit', 50);

        $text=  trim($text);
        if ($text == '') {
                return array();
              }


Clone Instance
5
Line Count
15
Source Line
47
Source File
plugins/search/weblinks.php

        if (is_array($areas)) {
                if (!array_intersect($areas, array_keys(plgSearchWeblinksAreas()))) {
                        return array();
                      }
              }

        // load plugin params info
        $plugin=  &JPluginHelper::getPlugin('search', 'weblinks');
        $pluginParams=  new JParameter($plugin->params);

        $limit=  $pluginParams->def('search_limit', 50);

        $text=  trim($text);
        if ($text == '') {
                return array();
              }


Clone AbstractionParameter Count: 2Parameter Bindings

if (is_array($areas)) {
  if (!array_intersect($areas,array_keys( [[#variable22e11160]]()))) {
    return array();
  }
}
// load plugin params info
$plugin= &JPluginHelper::getPlugin('search', [[#variable22e111c0]]);
$pluginParams=new JParameter($plugin->params);
$limit=$pluginParams->def('search_limit',50);
$text=trim($text);
if ($text == '') {
  return array();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22e11160]]
plgSearchWeblinksAreas 
12[[#22e11160]]
plgSearchCategoryAreas 
13[[#22e11160]]
plgSearchNewsfeedAreas 
14[[#22e11160]]
plgSearchContactAreas 
15[[#22e11160]]
plgSearchSectionAreas 
21[[#22e111c0]]
'weblinks' 
22[[#22e111c0]]
'categories' 
23[[#22e111c0]]
'newsfeeds' 
24[[#22e111c0]]
'contacts' 
25[[#22e111c0]]
'sections'