CloneSet965


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.995statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1570
administrator/components/com_media/helpers/media.php
2558
components/com_media/helpers/media.php
Clone Instance
1
Line Count
5
Source Line
70
Source File
administrator/components/com_media/helpers/media.php

                $maxSize=  (int) $params->get('upload_maxsize', 0);
                if ($maxSize>  0
                    &&              (int) $file['size']>  $maxSize) {
                        $err=  'WARNFILETOOLARGE';
                        return FALSE;
                      }


Clone Instance
2
Line Count
5
Source Line
58
Source File
components/com_media/helpers/media.php

                $maxSize=  (int) $params->get('upload_maxsize', 0);
                if ($maxSize>  0
                    &&              (int) $file['size']>  $maxSize) {
                        $err=  'This file is too large to upload';
                        return FALSE;
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

$maxSize= (int) $params->get('upload_maxsize',0);
if ($maxSize>0
    && (int) $file['size']>$maxSize) {
  $err= [[#variable2197efc0]];
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2197efc0]]
'This file is too large to upload' 
12[[#2197efc0]]
'WARNFILETOOLARGE'