CloneSet360


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.983if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17130
administrator/components/com_media/models/list.php
27139
administrator/components/com_media/models/list.php
Clone Instance
1
Line Count
7
Source Line
130
Source File
administrator/components/com_media/models/list.php

                                                        if (($info[0]>  60)
                                                            ||                 ($info[1]>  60)) {
                                                                $dimensions=  MediaHelper::imageResize($info[0], $info[1], 60);
                                                                $tmp->width_60 = $dimensions[0];
                                                                $tmp->height_60 = $dimensions[1];
                                                              }
                                                        else   {
                                                                $tmp->width_60 = $tmp->width;
                                                                $tmp->height_60 = $tmp->height;
                                                              }


Clone Instance
2
Line Count
7
Source Line
139
Source File
administrator/components/com_media/models/list.php

                                                        if (($info[0]>  16)
                                                            ||                 ($info[1]>  16)) {
                                                                $dimensions=  MediaHelper::imageResize($info[0], $info[1], 16);
                                                                $tmp->width_16 = $dimensions[0];
                                                                $tmp->height_16 = $dimensions[1];
                                                              }
                                                        else   {
                                                                $tmp->width_16 = $tmp->width;
                                                                $tmp->height_16 = $tmp->height;
                                                              }


Clone AbstractionParameter Count: 3Parameter Bindings

if (($info[0]> [[#variable5854bc60]])
    || ($info[1]> [[#variable5854bc60]])) {
  $dimensions=MediaHelper::imageResize($info[0],$info[1], [[#variable5854bc60]]);
  $tmp-> [[#variable5854bae0]]=$dimensions[0];
  $tmp-> [[#variable5854bc20]]=$dimensions[1];
}
else {
  $tmp-> [[#variable5854bae0]]=$tmp->width;
  $tmp-> [[#variable5854bc20]]=$tmp->height;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5854bc60]]
16 
12[[#5854bc60]]
60 
21[[#5854bae0]]
width_16 
22[[#5854bae0]]
width_60 
31[[#5854bc20]]
height_16 
32[[#5854bc20]]
height_60