Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 3 | 0.974 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 56 | plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php |
2 | 1 | 57 | 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]); |
| ||||
$heightnew= ($tinybrowser['imageresize']['height']> 0 && $tinybrowser['imageresize']['height']< $imginfo[1] ? $tinybrowser['imageresize']['height'] : $imginfo[1]); |
| |||
[[#variable22553d80]]=($tinybrowser['imageresize'][ [[#variable22553c20]]]>0 && $tinybrowser['imageresize'][ [[#variable22553c20]]]<$imginfo[ [[#variable22553d40]]] ? $tinybrowser['imageresize'][ [[#variable22553c20]]] : $imginfo[ [[#variable22553d40]]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22553d80]] | // assign new width and height values, only if they are less than existing image size $widthnew |
1 | 2 | [[#22553d80]] | $heightnew |
2 | 1 | [[#22553c20]] | 'width' |
2 | 2 | [[#22553c20]] | 'height' |
3 | 1 | [[#22553d40]] | 0 |
3 | 2 | [[#22553d40]] | 1 |