CloneSet760


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1230.974statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1156
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php
2157
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php
Clone Instance
1
Line Count
1
Source Line
56
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php

                                        // assign new width and height values, only if they are less than existing image size
                                        $widthnew=   ($tinybrowser['imageresize']['width']>  0
                                                      &&                                          $tinybrowser['imageresize']['width']<  $imginfo[0]
                                                      ?                                                                                                $tinybrowser['imageresize']['width']
                                                      :                                                                                                                                       $imginfo[0]);


Clone Instance
2
Line Count
1
Source Line
57
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php

                                        $heightnew=  ($tinybrowser['imageresize']['height']>  0
                                                      &&                                           $tinybrowser['imageresize']['height']<  $imginfo[1]
                                                      ?                                                                                                  $tinybrowser['imageresize']['height']
                                                      :                                                                                                                                           $imginfo[1]);


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable22553d80]]=($tinybrowser['imageresize'][ [[#variable22553c20]]]>0
                        && $tinybrowser['imageresize'][ [[#variable22553c20]]]<$imginfo[ [[#variable22553d40]]]
                        ? $tinybrowser['imageresize'][ [[#variable22553c20]]]
                        : $imginfo[ [[#variable22553d40]]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22553d80]]
// assign new width and height values, only if they are less than existing image size
$widthnew 
12[[#22553d80]]
$heightnew 
21[[#22553c20]]
'width' 
22[[#22553c20]]
'height' 
31[[#22553d40]]
0 
32[[#22553d40]]
1