Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 1 | 0.965 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 111 | administrator/components/com_installer/models/discover.php |
2 | 2 | 177 | administrator/components/com_installer/models/languages.php |
3 | 2 | 217 | libraries/joomla/utilities/arrayhelper.php |
| ||||
if (!is_array($eid)) { $eid= array($eid); } |
| ||||
/* * Ensure eid is an array of extension ids * TODO: If it isn't an array do we want to set an error and fail? */ if (!is_array($eid)) { $eid= array( $eid); } |
| ||||
if (!is_array($result)) { $result= array( $result); } |
| |||
/* * Ensure eid is an array of extension ids * TODO: If it isn't an array do we want to set an error and fail? */ if (!is_array( [[#variable586e4860]])) { [[#variable586e4860]]=array( [[#variable586e4860]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#586e4860]] | $eid |
1 | 2 | [[#586e4860]] | $result |
1 | 3 | [[#586e4860]] | $eid |