Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.989 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 804 | libraries/joomla/client/ftp.php |
2 | 4 | 878 | libraries/joomla/client/ftp.php |
| ||||
// Check to see if the local file can be opened for writing $fp= fopen($local, "wb"); if (!$fp) { JError::raiseWarning('38', 'JFTP::get: Unable to open local file for writing', 'Local path: ' . $local); return FALSE; } |
| ||||
$fp= fopen($local, "rb"); if (!$fp) { JError::raiseWarning('38', 'JFTP::store: Unable to open local file for reading', 'Local path: ' . $local); return FALSE; } |
| |||
// Check to see if the local file can be opened for writing $fp=fopen($local, [[#variable23a57dc0]]); if (!$fp) { JError::raiseWarning('38', [[#variable23f5c820]],'Local path: ' . $local); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#23a57dc0]] | "rb" |
1 | 2 | [[#23a57dc0]] | "wb" |
2 | 1 | [[#23f5c820]] | 'JFTP::store: Unable to open local file for reading' |
2 | 2 | [[#23f5c820]] | 'JFTP::get: Unable to open local file for writing' |