Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.990 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 201 | libraries/joomla/filesystem/file.php |
2 | 7 | 348 | libraries/joomla/filesystem/file.php |
| ||||
{ $stream= & JFactory::getStream(); if (!$stream->move($src, $dest)) { JError::raiseWarning(21, 'JFile::move: ' . $stream->getError()); return FALSE; } return TRUE; } |
| ||||
{ $stream= & JFactory::getStream(); if (!$stream->upload($src, $dest)) { JError::raiseWarning(21, 'JFile::upload: ' . $stream->getError()); return FALSE; } return TRUE; } |
| |||
{ $stream= &JFactory::getStream(); if (!$stream-> [[#variable23f5c100]]($src,$dest)) { JError::raiseWarning(21, [[#variable23f5c0e0]] . $stream->getError()); return FALSE; } return TRUE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#23f5c100]] | move |
1 | 2 | [[#23f5c100]] | upload |
2 | 1 | [[#23f5c0e0]] | 'JFile::move: ' |
2 | 2 | [[#23f5c0e0]] | 'JFile::upload: ' |