Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.973 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 613 | libraries/joomla/factory.php |
2 | 4 | 617 | libraries/joomla/factory.php |
| ||||
{ $prefix= 'ftp://' . $FTPOptions['user'] . ':' . $FTPOptions['pass'] . '@' . $FTPOptions['host']; $prefix.= $FTPOptions['port'] ? ':' . $FTPOptions['port'] : ''; $prefix.= $FTPOptions['root']; } |
| ||||
{ $prefix= 'ssh2.sftp://' . $SCPOptions['user'] . ':' . $SCPOptions['pass'] . '@' . $SCPOptions['host']; $prefix.= $SCPOptions['port'] ? ':' . $SCPOptions['port'] : ''; $prefix.= $SCPOptions['root']; } |
| |||
{ $prefix= [[#variable5031bb80]] . [[#variable5031bb20]]['user'] . ':' . [[#variable5031bb20]]['pass'] . '@' . [[#variable5031bb20]]['host']; $prefix.= [[#variable5031bb20]]['port'] ? ':' . [[#variable5031bb20]]['port'] : ''; $prefix.= [[#variable5031bb20]]['root']; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5031bb80]] | 'ftp://' |
1 | 2 | [[#5031bb80]] | 'ssh2.sftp://' |
2 | 1 | [[#5031bb20]] | $FTPOptions |
2 | 2 | [[#5031bb20]] | $SCPOptions |