CloneSet1590


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.982if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1343
administrator/components/com_banners/tables/bannerclient.php
2349
administrator/components/com_banners/tables/bannerclient.php
Clone Instance
1
Line Count
3
Source Line
43
Source File
administrator/components/com_banners/tables/bannerclient.php

                // check for valid client name
                if (trim($this->name == '')) {
                        $this->setError(JText::_('BNR_CLIENT_NAME'));
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
49
Source File
administrator/components/com_banners/tables/bannerclient.php

                // check for valid client contact
                if (trim($this->contact == '')) {
                        $this->setError(JText::_('BNR_CONTACT'));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// check for valid client contact
// check for valid client name
if (trim($this-> [[#variable45fd8340]]== '')) {
  $this->setError(JText::_( [[#variable45fd8260]]));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#45fd8340]]
contact 
12[[#45fd8340]]
name 
21[[#45fd8260]]
'BNR_CONTACT' 
22[[#45fd8260]]
'BNR_CLIENT_NAME'