CloneSet420


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.992if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111111
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php
211127
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php
Clone Instance
1
Line Count
11
Source Line
111
Source File
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);
      }


Clone Instance
2
Line Count
11
Source Line
127
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php

   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);
      }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#254c3940]]
$im 
12[[#254c3940]]
$newim