Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 5 | 2 | 0.995 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 48 | plugins/search/categories.php |
2 | 15 | 43 | plugins/search/contacts.php |
3 | 15 | 44 | plugins/search/newsfeeds.php |
4 | 15 | 47 | plugins/search/sections.php |
5 | 15 | 47 | plugins/search/weblinks.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(); } |
| ||||
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(); } |
| ||||
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(); } |
| ||||
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(); } |
| ||||
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(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22e11160]] | plgSearchWeblinksAreas |
1 | 2 | [[#22e11160]] | plgSearchCategoryAreas |
1 | 3 | [[#22e11160]] | plgSearchNewsfeedAreas |
1 | 4 | [[#22e11160]] | plgSearchContactAreas |
1 | 5 | [[#22e11160]] | plgSearchSectionAreas |
2 | 1 | [[#22e111c0]] | 'weblinks' |
2 | 2 | [[#22e111c0]] | 'categories' |
2 | 3 | [[#22e111c0]] | 'newsfeeds' |
2 | 4 | [[#22e111c0]] | 'contacts' |
2 | 5 | [[#22e111c0]] | 'sections' |