Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.984 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 71 | administrator/components/com_redirect/tables/link.php |
2 | 3 | 76 | administrator/components/com_redirect/tables/link.php |
3 | 3 | 79 | libraries/joomla/database/table/usergroup.php |
| ||||
// check for valid name if ((trim($this->old_url)) == '') { $this->setError(JText::_('Redirect_Source_URL_Required')); return FALSE; } |
| ||||
// check for valid name if ((trim($this->new_url)) == '') { $this->setError(JText::_('Redirect_Destination_URL_Required')); return FALSE; } |
| ||||
// Validate the title. if ((trim($this->title)) == '') { $this->setError(JText::_('Usergroup must have a title')); return FALSE; } |
| |||
// check for valid name // Validate the title. if ((trim($this-> [[#variable3fc06e80]])) == '') { $this->setError(JText::_( [[#variable3fc06ea0]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3fc06e80]] | new_url |
1 | 2 | [[#3fc06e80]] | old_url |
1 | 3 | [[#3fc06e80]] | title |
2 | 1 | [[#3fc06ea0]] | 'Redirect_Destination_URL_Required' |
2 | 2 | [[#3fc06ea0]] | 'Redirect_Source_URL_Required' |
2 | 3 | [[#3fc06ea0]] | 'Usergroup must have a title' |