| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 5 | 0.951 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 54 | libraries/joomla/installer/helper.php |
| 2 | 3 | 180 | libraries/joomla/updater/update.php |
| ||||
if (!$inputHandle) {
JError::raiseWarning(42, JText::_('SERVER_CONNECT_FAILED')
. ', '
. $error);
return FALSE;
}
|
| ||||
// Was the package downloaded?
if (!$p_file) {
JError::raiseWarning('SOME_ERROR_CODE', JText::_('Package download failed')
. ': '
. $url);
return FALSE;
}
|
| |||
// Was the package downloaded?
if (! [[#variable586c5840]]) {
JError::raiseWarning( [[#variable586c5780]],JText::_( [[#variable586c5720]])
. [[#variable586c55a0]]
. [[#variable586c56e0]]);
return FALSE;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#586c5840]] | $inputHandle |
| 1 | 2 | [[#586c5840]] | $p_file |
| 2 | 1 | [[#586c5780]] | 42 |
| 2 | 2 | [[#586c5780]] | 'SOME_ERROR_CODE' |
| 3 | 1 | [[#586c5720]] | 'SERVER_CONNECT_FAILED' |
| 3 | 2 | [[#586c5720]] | 'Package download failed' |
| 4 | 1 | [[#586c55a0]] | ', ' |
| 4 | 2 | [[#586c55a0]] | ': ' |
| 5 | 1 | [[#586c56e0]] | $error |
| 5 | 2 | [[#586c56e0]] | $url |