Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 6 | 2 | 0.977 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 62 | administrator/components/com_media/helpers/media.php |
2 | 1 | 63 | administrator/components/com_media/helpers/media.php |
3 | 1 | 80 | administrator/components/com_media/helpers/media.php |
4 | 1 | 88 | administrator/components/com_media/helpers/media.php |
5 | 1 | 89 | administrator/components/com_media/helpers/media.php |
6 | 1 | 51 | components/com_media/helpers/media.php |
| ||||
$allowable= explode(',', $params->get('upload_extensions')); |
| ||||
$ignored= explode(',', $params->get('ignore_extensions')); |
| ||||
$images= explode(',', $params->get('image_extensions')); |
| ||||
// if its not an image...and we're not ignoring it $allowed_mime= explode(',', $params->get('upload_mime')); |
| ||||
$illegal_mime= explode(',', $params->get('upload_mime_illegal')); |
| ||||
$allowable= explode(',', $params->get('upload_extensions')); |
| |||
[[#variable3c6cc0a0]]=explode(',',$params->get( [[#variable3c6cc020]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c6cc0a0]] | $allowable |
1 | 2 | [[#3c6cc0a0]] | $illegal_mime |
1 | 3 | [[#3c6cc0a0]] | // if its not an image...and we're not ignoring it $allowed_mime |
1 | 4 | [[#3c6cc0a0]] | $images |
1 | 5 | [[#3c6cc0a0]] | $ignored |
1 | 6 | [[#3c6cc0a0]] | $allowable |
2 | 1 | [[#3c6cc020]] | 'upload_extensions' |
2 | 2 | [[#3c6cc020]] | 'upload_mime_illegal' |
2 | 3 | [[#3c6cc020]] | 'upload_mime' |
2 | 4 | [[#3c6cc020]] | 'image_extensions' |
2 | 5 | [[#3c6cc020]] | 'ignore_extensions' |
2 | 6 | [[#3c6cc020]] | 'upload_extensions' |