Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.984 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 115 | components/com_mailto/controller.php |
2 | 4 | 122 | components/com_mailto/controller.php |
| ||||
if (! $email || ! JMailHelper::isEmailAddress($email)) { $error= JText::sprintf('EMAIL_INVALID', $email); JError::raiseWarning(0, $error); } |
| ||||
// Check for a valid from address if (! $from || ! JMailHelper::isEmailAddress($from)) { $error= JText::sprintf('EMAIL_INVALID', $from); JError::raiseWarning(0, $error); } |
| |||
// Check for a valid from address if (! [[#variable46927740]] || !JMailHelper::isEmailAddress( [[#variable46927740]])) { $error=JText::sprintf('EMAIL_INVALID', [[#variable46927740]]); JError::raiseWarning(0,$error); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46927740]] | |
1 | 2 | [[#46927740]] | $from |