Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 4 | 0.961 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 91 | libraries/joomla/utilities/string.php |
2 | 4 | 35 | libraries/phpxmlrpc/compat/array_key_exists.php |
3 | 4 | 45 | libraries/phpxmlrpc/compat/array_key_exists.php |
| ||||
if (!is_int($offset)) { trigger_error('strrpos expects parameter 3 to be long',E_USER_WARNING); return FALSE; } |
| ||||
if (!is_scalar($key)) { user_error('array_key_exists() The first argument should be either a string or an integer', E_USER_WARNING); return FALSE; } |
| ||||
if (!is_array($search)) { user_error('array_key_exists() The second argument should be either an array or an object', E_USER_WARNING); return FALSE; } |
| |||
if (! [[#variable2399aa60]]( [[#variable2399a9a0]])) { [[#variable2399a980]]( [[#variable2399a960]],E_USER_WARNING); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2399aa60]] | is_int |
1 | 2 | [[#2399aa60]] | is_array |
1 | 3 | [[#2399aa60]] | is_scalar |
2 | 1 | [[#2399a9a0]] | $offset |
2 | 2 | [[#2399a9a0]] | $search |
2 | 3 | [[#2399a9a0]] | $key |
3 | 1 | [[#2399a980]] | trigger_error |
3 | 2 | [[#2399a980]] | user_error |
3 | 3 | [[#2399a980]] | user_error |
4 | 1 | [[#2399a960]] | 'strrpos expects parameter 3 to be long' |
4 | 2 | [[#2399a960]] | 'array_key_exists() The second argument should be either an array or an object' |
4 | 3 | [[#2399a960]] | 'array_key_exists() The first argument should be either a string or an integer' |