CloneSet960


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.984if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14115
components/com_mailto/controller.php
24122
components/com_mailto/controller.php
Clone Instance
1
Line Count
4
Source Line
115
Source File
components/com_mailto/controller.php

                if (! $email
                    ||           ! JMailHelper::isEmailAddress($email)) {
                        $error=   JText::sprintf('EMAIL_INVALID', $email);
                        JError::raiseWarning(0, $error);
                      }


Clone Instance
2
Line Count
4
Source Line
122
Source File
components/com_mailto/controller.php

                // Check for a valid from address
                if (! $from
                    ||         ! JMailHelper::isEmailAddress($from)) {
                        $error=   JText::sprintf('EMAIL_INVALID', $from);
                        JError::raiseWarning(0, $error);
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

// Check for a valid from address
if (! [[#variable46927740]]
    || !JMailHelper::isEmailAddress( [[#variable46927740]])) {
  $error=JText::sprintf('EMAIL_INVALID', [[#variable46927740]]);
  JError::raiseWarning(0,$error);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46927740]]
$email 
12[[#46927740]]
$from