Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | foreach_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 492 | libraries/joomla/installer/adapters/plugin.php |
2 | 11 | 507 | libraries/joomla/installer/adapters/plugin.php |
| ||||
foreach ($file_list as $file) { $file= JFile::stripExt($file); if ($file == 'example') continue; // ignore example plugins $extension= &JTable::getInstance('extension'); $extension->set('type', 'plugin'); $extension->set('client_id', 0); $extension->set('element', $file); $extension->set('folder', $folder); $extension->set('name', $file); $extension->set('state', -1); $results[]= $extension; } |
| ||||
foreach ($file_list as $file) { $file= JFile::stripExt($file); if ($file == 'example') continue; // ignore example plugins $extension= &JTable::getInstance('extension'); $extension->set('type', 'plugin'); $extension->set('client_id', 0); $extension->set('element', $file); $extension->set('folder', $folder); $extension->set('name', $file); $extension->set('state', -1); $results[]= $extension; } |
| |||
foreach ($file_list as $file) { $file=JFile::stripExt($file); if ($file == 'example') continue; // ignore example plugins $extension= &JTable::getInstance('extension'); $extension->set('type','plugin'); $extension->set('client_id',0); $extension->set('element',$file); $extension->set('folder',$folder); $extension->set('name',$file); $extension->set('state',-1); $results[]=$extension; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |