CloneSet324


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.998if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19427
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/edit.php
29268
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tinybrowser.php
Clone Instance
1
Line Count
9
Source Line
427
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/edit.php

// Show page select if pagination is set
if ($tinybrowser['pagination']>0)
        {
        $pagelimit=  ceil($num_of_files/$tinybrowser['pagination'])+1;
        $page=  array();
        for ($i=1;$i<$pagelimit;$i ++)
                {
                $page[]=  array( $i,TB_PAGE
                                    .       ' '
                                    .           $i
                               );
              }
        if ($i>2) form_select($page,'showpage',SHOW,$showpagenow,TRUE);
      }


Clone Instance
2
Line Count
9
Source Line
268
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tinybrowser.php

// Show page select if pagination is set
if ($tinybrowser['pagination']>0)
        {
        $pagelimit=  ceil($num_of_files/$tinybrowser['pagination'])+1;
        $page=  array();
        for ($i=1;$i<$pagelimit;$i ++)
                {
                $page[]=  array( $i,TB_PAGE
                                    .       ' '
                                    .           $i
                               );
              }
        if ($i>2) form_select($page,'showpage',TB_SHOW,$showpagenow,TRUE);
      }


Clone AbstractionParameter Count: 1Parameter Bindings

// Show page select if pagination is set
if ($tinybrowser['pagination']>0) {
  $pagelimit=ceil($num_of_files/$tinybrowser['pagination'])+1;
  $page=array();
  for ($i=1; $i<$pagelimit; $i ++) {
    $page[]=array( $i,
                   TB_PAGE
                   . ' '
                   . $i
                 );
  }
  if ($i>2)
    form_select($page,'showpage', [[#variable43decf40]],$showpagenow,TRUE);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#43decf40]]
SHOW 
12[[#43decf40]]
TB_SHOW