Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 5 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 722 | libraries/joomla/client/ftp.php |
2 | 6 | 950 | libraries/joomla/client/ftp.php |
| ||||
if (@ftp_fget($this->_conn ,$tmp, $remote, $mode) === FALSE) { fclose($tmp); JError::raiseWarning('35', 'JFTP::read: Bad response'); return FALSE; } // Read tmp buffer contents rewind($tmp); |
| ||||
if (@ftp_fput($this->_conn ,$remote, $tmp, $mode) === FALSE) { fclose($tmp); JError::raiseWarning('35', 'JFTP::write: Bad response'); return FALSE; } fclose($tmp); |
| |||
if (@ [[#variable44e2c440]]($this->_conn , [[#variable24177bc0]], [[#variable241773c0]],$mode) === FALSE) { fclose($tmp); JError::raiseWarning('35', [[#variable3eb31300]]); return FALSE; } [[#variable2226a260]]($tmp); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#44e2c440]] | ftp_fput |
1 | 2 | [[#44e2c440]] | ftp_fget |
2 | 1 | [[#24177bc0]] | $remote |
2 | 2 | [[#24177bc0]] | $tmp |
3 | 1 | [[#241773c0]] | $tmp |
3 | 2 | [[#241773c0]] | $remote |
4 | 1 | [[#3eb31300]] | 'JFTP::write: Bad response' |
4 | 2 | [[#3eb31300]] | 'JFTP::read: Bad response' |
5 | 1 | [[#2226a260]] | fclose |
5 | 2 | [[#2226a260]] | // Read tmp buffer contents rewind |