Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.994 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 97 | administrator/components/com_installer/controller.php |
2 | 8 | 107 | administrator/components/com_installer/controller.php |
| ||||
/** * Discover handler */ function discover() { $model= &$this->getModel('discover'); $view= &$this->getView( 'discover'); $model->discover(); $ftp= & JClientHelper::setCredentialsFromRequest('ftp'); $view->assignRef('ftp', $ftp); $view->setModel( $model, TRUE); $view->display(); } |
| ||||
function discover_install() { $model= &$this->getModel('discover'); $view= &$this->getView( 'discover'); $model->discover_install(); $ftp= & JClientHelper::setCredentialsFromRequest('ftp'); $view->assignRef('ftp', $ftp); $view->setModel( $model, TRUE); $view->display(); } |
| |||
/** * Discover handler */ function [[#variable41440b60]]() { $model= &$this->getModel('discover'); $view= &$this->getView('discover'); $model-> [[#variable41440b60]](); $ftp= &JClientHelper::setCredentialsFromRequest('ftp'); $view->assignRef('ftp',$ftp); $view->setModel($model,TRUE); $view->display(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#41440b60]] | discover_install |
1 | 2 | [[#41440b60]] | discover |