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.972 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 319 | libraries/joomla/client/ftp.php |
2 | 6 | 503 | libraries/joomla/client/ftp.php |
| ||||
// If native FTP support is enabled lets use it... if (FTP_NATIVE) { if (@ftp_login($this->_conn ,$user, $pass) === FALSE) { JError::raiseWarning('30', 'JFTP::login: Unable to login'); return FALSE; } return TRUE; } |
| ||||
// If native FTP support is enabled lets use it... if (FTP_NATIVE) { if (@ftp_rename($this->_conn ,$from, $to) === FALSE) { JError::raiseWarning('35', 'JFTP::rename: Bad response'); return FALSE; } return TRUE; } |
| |||
// If native FTP support is enabled lets use it... if (FTP_NATIVE) { if (@ [[#variable4120e180]]($this->_conn , [[#variable4120e0e0]], [[#variable4120e080]]) === FALSE) { JError::raiseWarning( [[#variable4120e020]], [[#variable42027fc0]]); return FALSE; } return TRUE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4120e180]] | ftp_rename |
1 | 2 | [[#4120e180]] | ftp_login |
2 | 1 | [[#4120e0e0]] | $from |
2 | 2 | [[#4120e0e0]] | $user |
3 | 1 | [[#4120e080]] | $to |
3 | 2 | [[#4120e080]] | $pass |
4 | 1 | [[#4120e020]] | '35' |
4 | 2 | [[#4120e020]] | '30' |
5 | 1 | [[#42027fc0]] | 'JFTP::rename: Bad response' |
5 | 2 | [[#42027fc0]] | 'JFTP::login: Unable to login' |