Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.978 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 253 | components/com_users/models/registration.php |
2 | 3 | 103 | libraries/joomla/filesystem/stream.php |
| ||||
// Check for a valid user id. if (!$userId) { $this->setError(JText::_('USERS ACTIVATION TOKEN NOT FOUND')); return FALSE; } |
| ||||
if (!$filename) { $this->setError(JText::_('No filename set')); return FALSE; } |
| |||
// Check for a valid user id. if (! [[#variable51862840]]) { $this->setError(JText::_( [[#variable518627c0]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51862840]] | $filename |
1 | 2 | [[#51862840]] | $userId |
2 | 1 | [[#518627c0]] | 'No filename set' |
2 | 2 | [[#518627c0]] | 'USERS ACTIVATION TOKEN NOT FOUND' |