CloneSet299


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9340.984statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19678
libraries/joomla/client/ftp.php
29740
libraries/joomla/client/ftp.php
39811
libraries/joomla/client/ftp.php
Clone Instance
1
Line Count
9
Source Line
678
Source File
libraries/joomla/client/ftp.php

                // Start passive mode
                if (!$this->_passive()) {
                        JError::raiseWarning('36', 'JFTP::create: Unable to use passive mode');
                        return FALSE;
                      }

                if (!$this->_putCmd('STOR '
                                    .       $path, array( 150, 125
                                                        )))           {
                        @ fclose($this->_dataconn);
                        JError::raiseWarning('35', 'JFTP::create: Bad response', 'Server response: '
                                                                                 .                   $this->_response
                                                                                 .                                    ' [Expected: 150 or 125] Path sent: '
                                                                                 .                                                                          $path);
                        return FALSE;
                      }


Clone Instance
2
Line Count
9
Source Line
740
Source File
libraries/joomla/client/ftp.php

                // Start passive mode
                if (!$this->_passive()) {
                        JError::raiseWarning('36', 'JFTP::read: Unable to use passive mode');
                        return FALSE;
                      }

                if (!$this->_putCmd('RETR '
                                    .       $remote, array( 150, 125
                                                          )))           {
                        @ fclose($this->_dataconn);
                        JError::raiseWarning('35', 'JFTP::read: Bad response', 'Server response: '
                                                                               .                   $this->_response
                                                                               .                                    ' [Expected: 150 or 125] Path sent: '
                                                                               .                                                                          $remote);
                        return FALSE;
                      }


Clone Instance
3
Line Count
9
Source Line
811
Source File
libraries/joomla/client/ftp.php

                // Start passive mode
                if (!$this->_passive()) {
                        JError::raiseWarning('36', 'JFTP::get: Unable to use passive mode');
                        return FALSE;
                      }

                if (!$this->_putCmd('RETR '
                                    .       $remote, array( 150, 125
                                                          )))           {
                        @ fclose($this->_dataconn);
                        JError::raiseWarning('35', 'JFTP::get: Bad response', 'Server response: '
                                                                              .                   $this->_response
                                                                              .                                    ' [Expected: 150 or 125] Path sent: '
                                                                              .                                                                          $remote);
                        return FALSE;
                      }


Clone AbstractionParameter Count: 4Parameter Bindings

// Start passive mode
if (!$this->_passive()) {
  JError::raiseWarning('36', [[#variable40da14e0]]);
  return FALSE;
}
if (!$this->_putCmd( [[#variable40da1340]]
                    .  [[#variable40da12a0]],array( 150,
                                                    125
                                                  ))) {
  @fclose($this->_dataconn);
  JError::raiseWarning('35', [[#variable4879fdc0]],'Server response: '
                                                   . $this->_response
                                                   . ' [Expected: 150 or 125] Path sent: '
                                                   .  [[#variable40da12a0]]);
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#40da14e0]]
'JFTP::read: Unable to use passive mode' 
12[[#40da14e0]]
'JFTP::get: Unable to use passive mode' 
13[[#40da14e0]]
'JFTP::create: Unable to use passive mode' 
21[[#40da1340]]
'RETR ' 
22[[#40da1340]]
'RETR ' 
23[[#40da1340]]
'STOR ' 
31[[#40da12a0]]
$remote 
32[[#40da12a0]]
$remote 
33[[#40da12a0]]
$path 
41[[#4879fdc0]]
'JFTP::read: Bad response' 
42[[#4879fdc0]]
'JFTP::get: Bad response' 
43[[#4879fdc0]]
'JFTP::create: Bad response'