Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 6 | 6 | 0.973 | toplevel_statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 12 | plugins/search/categories.php |
2 | 14 | 12 | plugins/search/contacts.php |
3 | 14 | 12 | plugins/search/content.php |
4 | 14 | 12 | plugins/search/newsfeeds.php |
5 | 13 | 12 | plugins/search/sections.php |
6 | 13 | 12 | plugins/search/weblinks.php |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchCategories'); $mainframe->registerEvent('onSearchAreas', 'plgSearchCategoryAreas'); JPlugin::loadLanguage('plg_search_categories'); /** * @return array An array of search areas */ function &plgSearchCategoryAreas() { static $areas = array( 'categories' => 'Categories'); return $areas; } |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchContacts'); $mainframe->registerEvent('onSearchAreas', 'plgSearchContactAreas'); JPlugin::loadLanguage('plg_search_contacts'); /** * @return array An array of search areas */ function &plgSearchContactAreas() { static $areas = array( 'contacts' => 'Contacts'); return $areas; } |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchContent'); $mainframe->registerEvent('onSearchAreas', 'plgSearchContentAreas'); JPlugin::loadLanguage('plg_search_content'); /** * @return array An array of search areas */ function &plgSearchContentAreas() { static $areas = array( 'content' => 'Articles'); return $areas; } |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchNewsfeedslinks'); $mainframe->registerEvent('onSearchAreas', 'plgSearchNewsfeedAreas'); JPlugin::loadLanguage('plg_search_newsfeeds'); /** * @return array An array of search areas */ function &plgSearchNewsfeedAreas() { static $areas = array( 'newsfeeds' => 'Newsfeeds'); return $areas; } |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchSections'); $mainframe->registerEvent('onSearchAreas', 'plgSearchSectionAreas'); JPlugin::loadLanguage('plg_search_sections'); /** * @return array An array of search areas */ function &plgSearchSectionAreas() { static $areas = array( 'sections' => 'Sections'); return $areas; } |
| ||||
$mainframe->registerEvent('onSearch', 'plgSearchWeblinks'); $mainframe->registerEvent('onSearchAreas', 'plgSearchWeblinksAreas'); JPlugin::loadLanguage('plg_search_weblinks'); /** * @return array An array of search areas */ function &plgSearchWeblinksAreas() { static $areas = array( 'weblinks' => 'Weblinks'); return $areas; } |
| |||
$mainframe->registerEvent('onSearch', [[#variable4daa2c60]]); $mainframe->registerEvent('onSearchAreas', [[#variable4daa2be0]]); JPlugin::loadLanguage( [[#variable4daa2b80]]); /** * @return array An array of search areas */ function & [[#variable4daa2b00]]() { static $areas = array( [[#variable4daa2a60]]=> [[#variable4daa29e0]]); return $areas; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4daa2c60]] | 'plgSearchWeblinks' |
1 | 2 | [[#4daa2c60]] | 'plgSearchSections' |
1 | 3 | [[#4daa2c60]] | 'plgSearchNewsfeedslinks' |
1 | 4 | [[#4daa2c60]] | 'plgSearchContent' |
1 | 5 | [[#4daa2c60]] | 'plgSearchContacts' |
1 | 6 | [[#4daa2c60]] | 'plgSearchCategories' |
2 | 1 | [[#4daa2be0]] | 'plgSearchWeblinksAreas' |
2 | 2 | [[#4daa2be0]] | 'plgSearchSectionAreas' |
2 | 3 | [[#4daa2be0]] | 'plgSearchNewsfeedAreas' |
2 | 4 | [[#4daa2be0]] | 'plgSearchContentAreas' |
2 | 5 | [[#4daa2be0]] | 'plgSearchContactAreas' |
2 | 6 | [[#4daa2be0]] | 'plgSearchCategoryAreas' |
3 | 1 | [[#4daa2b80]] | 'plg_search_weblinks' |
3 | 2 | [[#4daa2b80]] | 'plg_search_sections' |
3 | 3 | [[#4daa2b80]] | 'plg_search_newsfeeds' |
3 | 4 | [[#4daa2b80]] | 'plg_search_content' |
3 | 5 | [[#4daa2b80]] | 'plg_search_contacts' |
3 | 6 | [[#4daa2b80]] | 'plg_search_categories' |
4 | 1 | [[#4daa2b00]] | plgSearchWeblinksAreas |
4 | 2 | [[#4daa2b00]] | plgSearchSectionAreas |
4 | 3 | [[#4daa2b00]] | plgSearchNewsfeedAreas |
4 | 4 | [[#4daa2b00]] | plgSearchContentAreas |
4 | 5 | [[#4daa2b00]] | plgSearchContactAreas |
4 | 6 | [[#4daa2b00]] | plgSearchCategoryAreas |
5 | 1 | [[#4daa2a60]] | 'weblinks' |
5 | 2 | [[#4daa2a60]] | 'sections' |
5 | 3 | [[#4daa2a60]] | 'newsfeeds' |
5 | 4 | [[#4daa2a60]] | 'content' |
5 | 5 | [[#4daa2a60]] | 'contacts' |
5 | 6 | [[#4daa2a60]] | 'categories' |
6 | 1 | [[#4daa29e0]] | 'Weblinks' |
6 | 2 | [[#4daa29e0]] | 'Sections' |
6 | 3 | [[#4daa29e0]] | 'Newsfeeds' |
6 | 4 | [[#4daa29e0]] | 'Articles' |
6 | 5 | [[#4daa29e0]] | 'Contacts' |
6 | 6 | [[#4daa29e0]] | 'Categories' |