Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.983 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 130 | administrator/components/com_media/models/list.php |
2 | 7 | 139 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5854bc60]] | 16 |
1 | 2 | [[#5854bc60]] | 60 |
2 | 1 | [[#5854bae0]] | width_16 |
2 | 2 | [[#5854bae0]] | width_60 |
3 | 1 | [[#5854bc20]] | height_16 |
3 | 2 | [[#5854bc20]] | height_60 |