Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.976 | elseif |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 206 | plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/edit.php |
2 | 9 | 97 | plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php |
| ||||
elseif ($mime['mime'] == 'image/gif') { $originaltransparentcolor= imagecolortransparent( $im); if ($originaltransparentcolor>= 0 && $originaltransparentcolor< imagecolorstotal( $im)) { $transparentcolor= imagecolorsforindex( $im, $originaltransparentcolor); $newtransparentcolor= imagecolorallocate($newim,$transparentcolor['red'],$transparentcolor['green'],$transparentcolor['blue']); imagefill( $newim, 0, 0, $newtransparentcolor); imagecolortransparent( $newim, $newtransparentcolor); } } |
| ||||
elseif ($imagetype == 'image/gif') { $originaltransparentcolor= imagecolortransparent( $im); if ($originaltransparentcolor>= 0 && $originaltransparentcolor< imagecolorstotal( $im)) { $transparentcolor= imagecolorsforindex( $im, $originaltransparentcolor); $newtransparentcolor= imagecolorallocate($newim,$transparentcolor['red'],$transparentcolor['green'],$transparentcolor['blue']); imagefill( $newim, 0, 0, $newtransparentcolor); imagecolortransparent( $newim, $newtransparentcolor); } } |
| |||
elseif ( [[#variable3c6abee0]]== 'image/gif') { $originaltransparentcolor=imagecolortransparent($im); if ($originaltransparentcolor>=0 && $originaltransparentcolor<imagecolorstotal($im)) { $transparentcolor=imagecolorsforindex($im,$originaltransparentcolor); $newtransparentcolor=imagecolorallocate($newim,$transparentcolor['red'],$transparentcolor['green'],$transparentcolor['blue']); imagefill($newim,0,0,$newtransparentcolor); imagecolortransparent($newim,$newtransparentcolor); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c6abee0]] | $mime['mime'] |
1 | 2 | [[#3c6abee0]] | $imagetype |