CloneSet1009


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14804
libraries/joomla/client/ftp.php
24878
libraries/joomla/client/ftp.php
Clone Instance
1
Line Count
4
Source Line
804
Source File
libraries/joomla/client/ftp.php

                // Check to see if the local file can be opened for writing
                $fp=  fopen($local, "wb");
                if (!$fp) {
                        JError::raiseWarning('38', 'JFTP::get: Unable to open local file for writing', 'Local path: '
                                                                                                       .              $local);
                        return FALSE;
                      }


Clone Instance
2
Line Count
4
Source Line
878
Source File
libraries/joomla/client/ftp.php

                        $fp=  fopen($local, "rb");
                        if (!$fp) {
                                JError::raiseWarning('38', 'JFTP::store: Unable to open local file for reading', 'Local path: '
                                                                                                                 .              $local);
                                return FALSE;
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

// Check to see if the local file can be opened for writing
$fp=fopen($local, [[#variable23a57dc0]]);
if (!$fp) {
  JError::raiseWarning('38', [[#variable23f5c820]],'Local path: '
                                                   . $local);
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#23a57dc0]]
"rb" 
12[[#23a57dc0]]
"wb" 
21[[#23f5c820]]
'JFTP::store: Unable to open local file for reading' 
22[[#23f5c820]]
'JFTP::get: Unable to open local file for writing'