Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.992 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 111 | plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php |
2 | 11 | 127 | plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php |
| ||||
if ($imagetype == 'image/pjpeg' || $imagetype == 'image/jpeg') { imagejpeg( $newim,$urlandname,$comp); } elseif ($imagetype == 'image/x-png' || $imagetype == 'image/png') { imagepng( $newim,$urlandname,substr($comp,0,1)); } elseif ($imagetype == 'image/gif') { imagegif( $newim,$urlandname); } |
| ||||
if ($imagetype == 'image/pjpeg' || $imagetype == 'image/jpeg') { imagejpeg( $im,$urlandname,$comp); } elseif ($imagetype == 'image/x-png' || $imagetype == 'image/png') { imagepng( $im,$urlandname,substr($comp,0,1)); } elseif ($imagetype == 'image/gif') { imagegif( $im,$urlandname); } |
| |||
if ($imagetype == 'image/pjpeg' || $imagetype == 'image/jpeg') { imagejpeg( [[#variable254c3940]],$urlandname,$comp); } elseif ($imagetype == 'image/x-png' || $imagetype == 'image/png') { imagepng( [[#variable254c3940]],$urlandname,substr($comp,0,1)); } elseif ($imagetype == 'image/gif') { imagegif( [[#variable254c3940]],$urlandname); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#254c3940]] | $im |
1 | 2 | [[#254c3940]] | $newim |