Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.998 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 1316 | libraries/joomla/client/ftp.php |
2 | 15 | 1373 | libraries/joomla/client/ftp.php |
| ||||
// Wait for a response from the server, but timeout after the set time limit $endTime= time()+ $this->_timeout; $this->_response = ''; do { $this->_response .= fgets($this->_conn ,4096); } while (!preg_match("/^([0-9]{3})(-(.*" . CRLF . ")+\\1)? [^" . CRLF . "]+" . CRLF . "\$/",$this->_response ,$parts) && time()< $endTime); // Catch a timeout or bad response if (! isset ($parts[1])) { JError::raiseWarning('SOME_ERROR_CODE', 'JFTP::_verifyResponse: Timeout or unrecognized response while waiting for a response from the server', 'Server response: ' . $this->_response); return FALSE; } // Separate the code from the message $this->_responseCode = $parts[1]; $this->_responseMsg = $parts[0]; |
| ||||
// Wait for a response from the server, but timeout after the set time limit $endTime= time()+ $this->_timeout; $this->_response = ''; do { $this->_response .= fgets($this->_conn ,4096); } while (!preg_match("/^([0-9]{3})(-(.*" . CRLF . ")+\\1)? [^" . CRLF . "]+" . CRLF . "\$/",$this->_response ,$parts) && time()< $endTime); // Catch a timeout or bad response if (! isset ($parts[1])) { JError::raiseWarning('SOME_ERROR_CODE', 'JFTP::_passive: Timeout or unrecognized response while waiting for a response from the server', 'Server response: ' . $this->_response); return FALSE; } // Separate the code from the message $this->_responseCode = $parts[1]; $this->_responseMsg = $parts[0]; |
| |||
// Wait for a response from the server, but timeout after the set time limit $endTime=time()+$this->_timeout; $this->_response =''; do { $this->_response .=fgets($this->_conn ,4096); } while (!preg_match("/^([0-9]{3})(-(.*" . CRLF . ")+\\1)? [^" . CRLF . "]+" . CRLF . "\$/",$this->_response ,$parts) && time()<$endTime); // Catch a timeout or bad response if (! isset ($parts[1])) { JError::raiseWarning('SOME_ERROR_CODE', [[#variable522e8780]],'Server response: ' . $this->_response); return FALSE; } // Separate the code from the message $this->_responseCode =$parts[1]; $this->_responseMsg =$parts[0]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#522e8780]] | 'JFTP::_passive: Timeout or unrecognized response while waiting for a response from the server' |
1 | 2 | [[#522e8780]] | 'JFTP::_verifyResponse: Timeout or unrecognized response while waiting for a response from the server' |