CloneSet669


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.980dowhile_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17906
libraries/joomla/client/ftp.php
27976
libraries/joomla/client/ftp.php
Clone Instance
1
Line Count
7
Source Line
906
Source File
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 != "");


Clone Instance
2
Line Count
7
Source Line
976
Source File
libraries/joomla/client/ftp.php

                // 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 != "");


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4729eae0]]
$buffer 
12[[#4729eae0]]
$line 
21[[#4729e9e0]]
'JFTP::write: Unable to write to data port socket' 
22[[#4729e9e0]]
'JFTP::store: Unable to write to data port socket'