| 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.980 | dowhile_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 906 | libraries/joomla/client/ftp.php |
| 2 | 7 | 976 | libraries/joomla/client/ftp.php |
| ||||
do {
if (($result= @ fwrite($this->_dataconn ,$line)) === FALSE) {
JError::raiseWarning('37', 'JFTP::store: Unable to write to data port socket');
return FALSE;
}
$line= substr($line, $result);
} while ($line != "");
|
| ||||
// Write buffer to the data connection port
do {
if (($result= @ fwrite($this->_dataconn ,$buffer)) === FALSE) {
JError::raiseWarning('37', 'JFTP::write: Unable to write to data port socket');
return FALSE;
}
$buffer= substr($buffer, $result);
} while ($buffer != "");
|
| |||
// Write buffer to the data connection port
do {
if (($result=@fwrite($this->_dataconn , [[#variable4729eae0]])) === FALSE) {
JError::raiseWarning('37', [[#variable4729e9e0]]);
return FALSE;
}
[[#variable4729eae0]]=substr( [[#variable4729eae0]],$result);
} while ( [[#variable4729eae0]]!= "");
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4729eae0]] | $buffer |
| 1 | 2 | [[#4729eae0]] | $line |
| 2 | 1 | [[#4729e9e0]] | 'JFTP::write: Unable to write to data port socket' |
| 2 | 2 | [[#4729e9e0]] | 'JFTP::store: Unable to write to data port socket' |