Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.974 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 268 | libraries/joomla/form/form.php |
2 | 2 | 273 | libraries/joomla/form/form.php |
3 | 2 | 278 | libraries/joomla/form/form.php |
| ||||
// Check if an action is set. if ($parser->document->attributes('action') && $reset) { $this->setAction($parser->document->attributes('action')); } |
| ||||
// Check if a name is set. if ($parser->document->attributes('name') && $reset) { $this->setName($parser->document->attributes('name')); } |
| ||||
// Check if an id is set. if ($parser->document->attributes('id') && $reset) { $this->setId($parser->document->attributes('id')); } |
| |||
// Check if an action is set. // Check if a name is set. // Check if an id is set. if ($parser->document->attributes( [[#variable22ac4080]]) && $reset) { $this-> [[#variable22ac4000]]($parser->document->attributes( [[#variable22ac4080]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22ac4080]] | 'action' |
1 | 2 | [[#22ac4080]] | 'name' |
1 | 3 | [[#22ac4080]] | 'id' |
2 | 1 | [[#22ac4000]] | setAction |
2 | 2 | [[#22ac4000]] | setName |
2 | 3 | [[#22ac4000]] | setId |