Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.978 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 108 | components/com_contact/views/category/view.html.php |
2 | 9 | 85 | components/com_newsfeeds/views/newsfeed/view.html.php |
| ||||
// because the application sets a default page title, we need to get it // right from the menu item itself if (is_object($menu)) { $menu_params= new JParameter($menu->params); if (!$menu_params->get('page_title')) { $pparams->set('page_title', $category->title); } } else { $pparams->set('page_title', $category->title); } $document->setTitle($pparams->get('page_title')); |
| ||||
// Set page title // because the application sets a default page title, we need to get it // right from the menu item itself if (is_object($menu)) { $menu_params= new JParameter($menu->params); if (!$menu_params->get('page_title')) { $params->set('page_title', $newsfeed->name); } } else { $params->set('page_title', $newsfeed->name); } $document->setTitle($params->get('page_title')); |
| |||
// Set page title // because the application sets a default page title, we need to get it // right from the menu item itself if (is_object($menu)) { $menu_params=new JParameter($menu->params); if (!$menu_params->get('page_title')) { [[#variable4ce8e5a0]]->set('page_title', [[#variable4ce8e4c0]]-> [[#variable4ce8e500]]); } } else { [[#variable4ce8e5a0]]->set('page_title', [[#variable4ce8e4c0]]-> [[#variable4ce8e500]]); } $document->setTitle( [[#variable4ce8e5a0]]->get('page_title')); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ce8e5a0]] | $pparams |
1 | 2 | [[#4ce8e5a0]] | $params |
2 | 1 | [[#4ce8e4c0]] | $category |
2 | 2 | [[#4ce8e4c0]] | $newsfeed |
3 | 1 | [[#4ce8e500]] | title |
3 | 2 | [[#4ce8e500]] | name |