| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 0 | 1.000 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 94 | administrator/components/com_media/helpers/media.php |
| 2 | 3 | 102 | administrator/components/com_media/helpers/media.php |
| ||||
if (strlen($type)
&& !in_array($type, $allowed_mime)
&& in_array($type, $illegal_mime)) {
$err= 'WARNINVALIDMIME';
return FALSE;
}
|
| ||||
if (strlen($type)
&& !in_array($type, $allowed_mime)
&& in_array($type, $illegal_mime)) {
$err= 'WARNINVALIDMIME';
return FALSE;
}
|
| |||
if (strlen($type)
&& !in_array($type,$allowed_mime)
&& in_array($type,$illegal_mime)) {
$err='WARNINVALIDMIME';
return FALSE;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||