Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.973 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 383 | libraries/joomla/html/html/select.php |
2 | 2 | 388 | libraries/joomla/html/html/select.php |
| ||||
// Set attributes only if there is a property and a value if ($options['attr'] !== NULL) { $obj->$options['option.attr']= $options['attr']; } |
| ||||
// Set disable only if it has a property and a value if ($options['disable'] !== NULL) { $obj->$options['option.disable']= $options['disable']; } |
| |||
// Set attributes only if there is a property and a value // Set disable only if it has a property and a value if ($options[ [[#variable5265cd60]]] !== NULL) { $obj->$options[ [[#variable5265ccc0]]]=$options[ [[#variable5265cd60]]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5265cd60]] | 'attr' |
1 | 2 | [[#5265cd60]] | 'disable' |
2 | 1 | [[#5265ccc0]] | 'option.attr' |
2 | 2 | [[#5265ccc0]] | 'option.disable' |