Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.982 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 104 | administrator/components/com_banners/tables/banner.php |
2 | 3 | 172 | administrator/components/com_weblinks/tables/weblink.php |
3 | 3 | 258 | libraries/joomla/database/table/user.php |
4 | 3 | 263 | libraries/joomla/database/table/user.php |
| ||||
// check for valid name if (trim($this->name) == '') { $this->setError(JText::_('BNR_NAME')); return FALSE; } |
| ||||
/** check for valid name */ if (trim($this->title) == '') { $this->setError(JText::_('Your Weblink must contain a title.')); return FALSE; } |
| ||||
// Validate user information if (trim($this->name) == '') { $this->setError(JText::_('Please enter your name.')); return FALSE; } |
| ||||
if (trim($this->username) == '') { $this->setError(JText::_('Please enter a user name.')); return FALSE; } |
| |||
// check for valid name /** check for valid name */ // Validate user information if (trim($this-> [[#variable407137e0]]) == '') { $this->setError(JText::_( [[#variable40713820]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#407137e0]] | name |
1 | 2 | [[#407137e0]] | title |
1 | 3 | [[#407137e0]] | username |
1 | 4 | [[#407137e0]] | name |
2 | 1 | [[#40713820]] | 'BNR_NAME' |
2 | 2 | [[#40713820]] | 'Your Weblink must contain a title.' |
2 | 3 | [[#40713820]] | 'Please enter a user name.' |
2 | 4 | [[#40713820]] | 'Please enter your name.' |