Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 3 | 0.969 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 242 | administrator/components/com_users/models/user.php |
2 | 3 | 127 | administrator/components/com_weblinks/models/weblink.php |
3 | 3 | 53 | installation/models/filesystem.php |
4 | 3 | 108 | installation/models/filesystem.php |
| ||||
// Check if the row is checked-out by someone else. if ($return === NULL) { $this->setError(JText::_('USERS_MEMBER_CHECKED_OUT')); return FALSE; } |
| ||||
// Check if the row is checked-out by someone else. if ($return === NULL) { $this->setError(JText::_('JCommon_Item_is_checked_out')); return FALSE; } |
| ||||
if ($cwd === FALSE) { $this->setError(JText::_('NOPWD')); return FALSE; } |
| ||||
// Return an error if no root path was found. if ($rootPath === FALSE) { $this->setError(JText::_('Unable to autodetect the FTP root folder.')); return FALSE; } |
| |||
// Return an error if no root path was found. // Check if the row is checked-out by someone else. if ( [[#variable41444b20]]=== [[#variable41444aa0]]) { $this->setError(JText::_( [[#variable414449e0]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#41444b20]] | $cwd |
1 | 2 | [[#41444b20]] | $rootPath |
1 | 3 | [[#41444b20]] | $return |
1 | 4 | [[#41444b20]] | $return |
2 | 1 | [[#41444aa0]] | FALSE |
2 | 2 | [[#41444aa0]] | FALSE |
2 | 3 | [[#41444aa0]] | NULL |
2 | 4 | [[#41444aa0]] | NULL |
3 | 1 | [[#414449e0]] | 'NOPWD' |
3 | 2 | [[#414449e0]] | 'Unable to autodetect the FTP root folder.' |
3 | 3 | [[#414449e0]] | 'JCommon_Item_is_checked_out' |
3 | 4 | [[#414449e0]] | 'USERS_MEMBER_CHECKED_OUT' |