CloneSet430


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3540.972if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13389
libraries/joomla/client/ftp.php
23417
libraries/joomla/client/ftp.php
33484
libraries/joomla/client/ftp.php
431452
libraries/joomla/client/ftp.php
531457
libraries/joomla/client/ftp.php
Clone Instance
1
Line Count
3
Source Line
389
Source File
libraries/joomla/client/ftp.php

                // Send print working directory command and verify success
                if (!$this->_putCmd('PWD', 257)) {
                        JError::raiseWarning('35', 'JFTP::pwd: Bad response', 'Server response: '
                                                                              .                   $this->_response
                                                                              .                                    ' [Expected: 257]');
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
417
Source File
libraries/joomla/client/ftp.php

                        // Send print working directory command and verify success
                        if (!$this->_putCmd('SYST', 215)) {
                                JError::raiseWarning('35', 'JFTP::syst: Bad response', 'Server response: '
                                                                                       .                   $this->_response
                                                                                       .                                    ' [Expected: 215]');
                                return FALSE;
                              }


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

                // Send reinitialize command to the server
                if (!$this->_putCmd('REIN', 220)) {
                        JError::raiseWarning('35', 'JFTP::reinit: Bad response', 'Server response: '
                                                                                 .                   $this->_response
                                                                                 .                                    ' [Expected: 220]');
                        return FALSE;
                      }


Clone Instance
4
Line Count
3
Source Line
1452
Source File
libraries/joomla/client/ftp.php

                        if (!$this->_putCmd("TYPE I", 200)) {
                                JError::raiseWarning('35', 'JFTP::_mode: Bad response', 'Server response: '
                                                                                        .                   $this->_response
                                                                                        .                                    ' [Expected: 200] Mode sent: Binary');
                                return FALSE;
                              }


Clone Instance
5
Line Count
3
Source Line
1457
Source File
libraries/joomla/client/ftp.php

                        if (!$this->_putCmd("TYPE A", 200)) {
                                JError::raiseWarning('35', 'JFTP::_mode: Bad response', 'Server response: '
                                                                                        .                   $this->_response
                                                                                        .                                    ' [Expected: 200] Mode sent: Ascii');
                                return FALSE;
                              }


Clone AbstractionParameter Count: 4Parameter Bindings

// Send reinitialize command to the server
// Send print working directory command and verify success
if (!$this->_putCmd( [[#variable52dac5c0]], [[#variable52dac520]])) {
  JError::raiseWarning('35', [[#variable52dac480]],'Server response: '
                                                   . $this->_response
                                                   .  [[#variable52dac500]]);
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52dac5c0]]
"TYPE A" 
12[[#52dac5c0]]
"TYPE I" 
13[[#52dac5c0]]
'REIN' 
14[[#52dac5c0]]
'SYST' 
15[[#52dac5c0]]
'PWD' 
21[[#52dac520]]
200 
22[[#52dac520]]
200 
23[[#52dac520]]
220 
24[[#52dac520]]
215 
25[[#52dac520]]
257 
31[[#52dac480]]
'JFTP::_mode: Bad response' 
32[[#52dac480]]
'JFTP::_mode: Bad response' 
33[[#52dac480]]
'JFTP::reinit: Bad response' 
34[[#52dac480]]
'JFTP::syst: Bad response' 
35[[#52dac480]]
'JFTP::pwd: Bad response' 
41[[#52dac500]]
' [Expected: 200] Mode sent: Ascii' 
42[[#52dac500]]
' [Expected: 200] Mode sent: Binary' 
43[[#52dac500]]
' [Expected: 220]' 
44[[#52dac500]]
' [Expected: 215]' 
45[[#52dac500]]
' [Expected: 257]'