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.982 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 43 | administrator/components/com_banners/tables/bannerclient.php |
2 | 3 | 49 | administrator/components/com_banners/tables/bannerclient.php |
| ||||
// check for valid client name if (trim($this->name == '')) { $this->setError(JText::_('BNR_CLIENT_NAME')); return FALSE; } |
| ||||
// check for valid client contact if (trim($this->contact == '')) { $this->setError(JText::_('BNR_CONTACT')); return FALSE; } |
| |||
// check for valid client contact // check for valid client name if (trim($this-> [[#variable45fd8340]]== '')) { $this->setError(JText::_( [[#variable45fd8260]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#45fd8340]] | contact |
1 | 2 | [[#45fd8340]] | name |
2 | 1 | [[#45fd8260]] | 'BNR_CONTACT' |
2 | 2 | [[#45fd8260]] | 'BNR_CLIENT_NAME' |