CloneSet94


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
71460.961statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17192
plugins/editors/tinymce.php
27199
plugins/editors/tinymce.php
37227
plugins/editors/tinymce.php
47234
plugins/editors/tinymce.php
57241
plugins/editors/tinymce.php
67258
plugins/editors/tinymce.php
77265
plugins/editors/tinymce.php
87282
plugins/editors/tinymce.php
97289
plugins/editors/tinymce.php
107296
plugins/editors/tinymce.php
117303
plugins/editors/tinymce.php
127310
plugins/editors/tinymce.php
137325
plugins/editors/tinymce.php
147332
plugins/editors/tinymce.php
Clone Instance
1
Line Count
7
Source Line
192
Source File
plugins/editors/tinymce.php

                if ( $paste)  {
                        $plugins[]=       'paste';
                        $buttons2_add_before[]=   'pastetext,pasteword,selectall';
                      }

                // search & replace
                $searchreplace=            $this->params->def( 'searchreplace', 1);


Clone Instance
2
Line Count
7
Source Line
199
Source File
plugins/editors/tinymce.php

                if ( $searchreplace)  {
                        $plugins[]=       'searchreplace';
                        $buttons2_add_before[]=   '|,search,replace,|';
                      }

                // insert date and/or time plugin
                $insertdate=                      $this->params->def( 'insertdate', 1);


Clone Instance
3
Line Count
7
Source Line
227
Source File
plugins/editors/tinymce.php

                if ( $table)  {
                        $plugins[]=       'table';
                        $buttons3_add_before[]=   'tablecontrols';
                      }

                // emotions
                $smilies=  $this->params->def( 'smilies', 1);


Clone Instance
4
Line Count
7
Source Line
234
Source File
plugins/editors/tinymce.php

                if ( $smilies)  {
                        $plugins[]=       'emotions';
                        $buttons3_add[]=  'emotions';
                      }

                //media plugin
                $media=  $this->params->def( 'media', 1);


Clone Instance
5
Line Count
7
Source Line
241
Source File
plugins/editors/tinymce.php

                if ( $media)  {
                        $plugins[]=  'media';
                        $buttons3_add[]=  'media';
                      }

                // horizontal line
                $hr=  $this->params->def( 'hr', 1);


Clone Instance
6
Line Count
7
Source Line
258
Source File
plugins/editors/tinymce.php

                if ( $directionality)  {
                        $plugins[]=  'directionality';
                        $buttons3_add[]=  'ltr,rtl';
                      }

                // fullscreen
                $fullscreen=      $this->params->def( 'fullscreen', 1);


Clone Instance
7
Line Count
7
Source Line
265
Source File
plugins/editors/tinymce.php

                if ( $fullscreen)  {
                        $plugins[]=       'fullscreen';
                        $buttons3_add[]=  'fullscreen';
                      }

                // layer
                $layer=  $this->params->def( 'layer', 1);


Clone Instance
8
Line Count
7
Source Line
282
Source File
plugins/editors/tinymce.php

                if ( $style)  {
                        $plugins[]=       'style';
                        $buttons4[]=      'styleprops';
                      }

                // XHTMLxtras
                $xhtmlxtras=                      $this->params->def( 'xhtmlxtras', 1);


Clone Instance
9
Line Count
7
Source Line
289
Source File
plugins/editors/tinymce.php

                if ( $xhtmlxtras)  {
                        $plugins[]=       'xhtmlxtras';
                        $buttons4[]=      'cite,abbr,acronym,ins,del,attribs';
                      }

                // visualchars
                $visualchars=  $this->params->def( 'visualchars', 1);


Clone Instance
10
Line Count
7
Source Line
296
Source File
plugins/editors/tinymce.php

                if ( $template)  {
                        $plugins[]=       'visualchars';
                        $buttons4[]=      'visualchars';
                      }

                // visualchars
                $nonbreaking=  $this->params->def( 'nonbreaking', 1);


Clone Instance
11
Line Count
7
Source Line
303
Source File
plugins/editors/tinymce.php

                if ( $template)  {
                        $plugins[]=       'nonbreaking';
                        $buttons4[]=      'nonbreaking';
                      }

                // template
                $template=  $this->params->def( 'template', 1);


Clone Instance
12
Line Count
7
Source Line
310
Source File
plugins/editors/tinymce.php

                if ( $template)  {
                        $plugins[]=       'template';
                        $buttons4[]=      'template';
                      }

                // tinybrowser
                $tinybrowser=     $this->params->def( 'tinybrowser', 1);


Clone Instance
13
Line Count
7
Source Line
325
Source File
plugins/editors/tinymce.php

                if ( $advimage)  {
                        $plugins[]=       'advimage';
                        $elements[]=      'img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]';
                      }

                // advlink
                $advlink=         $this->params->def( 'advlink', 1);


Clone Instance
14
Line Count
7
Source Line
332
Source File
plugins/editors/tinymce.php

                if ( $advlink)  {
                        $plugins[]=       'advlink';
                        $elements[]=      'a[class|name|href|target|title|onclick|rel]';
                      }

                // autosave
                $autosave=                        $this->params->def( 'autosave', 1);


Clone AbstractionParameter Count: 6Parameter Bindings

if ( [[#variable4dd938a0]]) {
  $plugins[]= [[#variable4cb57980]];
   [[#variable3eb614e0]][]= [[#variable3c377360]];
}
 [[#variable57f73900]]=$this->params->def( [[#variable4dd935a0]],1);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4dd938a0]]
$advlink 
12[[#4dd938a0]]
$advimage 
13[[#4dd938a0]]
$template 
14[[#4dd938a0]]
$template 
15[[#4dd938a0]]
$template 
16[[#4dd938a0]]
$xhtmlxtras 
17[[#4dd938a0]]
$style 
18[[#4dd938a0]]
$fullscreen 
19[[#4dd938a0]]
$directionality 
110[[#4dd938a0]]
$media 
111[[#4dd938a0]]
$smilies 
112[[#4dd938a0]]
$table 
113[[#4dd938a0]]
$searchreplace 
114[[#4dd938a0]]
$paste 
21[[#4cb57980]]
'advlink' 
22[[#4cb57980]]
'advimage' 
23[[#4cb57980]]
'template' 
24[[#4cb57980]]
'nonbreaking' 
25[[#4cb57980]]
'visualchars' 
26[[#4cb57980]]
'xhtmlxtras' 
27[[#4cb57980]]
'style' 
28[[#4cb57980]]
'fullscreen' 
29[[#4cb57980]]
'directionality' 
210[[#4cb57980]]
'media' 
211[[#4cb57980]]
'emotions' 
212[[#4cb57980]]
'table' 
213[[#4cb57980]]
'searchreplace' 
214[[#4cb57980]]
'paste' 
31[[#3eb614e0]]
$elements 
32[[#3eb614e0]]
$elements 
33[[#3eb614e0]]
$buttons4 
34[[#3eb614e0]]
$buttons4 
35[[#3eb614e0]]
$buttons4 
36[[#3eb614e0]]
$buttons4 
37[[#3eb614e0]]
$buttons4 
38[[#3eb614e0]]
$buttons3_add 
39[[#3eb614e0]]
$buttons3_add 
310[[#3eb614e0]]
$buttons3_add 
311[[#3eb614e0]]
$buttons3_add 
312[[#3eb614e0]]
$buttons3_add_before 
313[[#3eb614e0]]
$buttons2_add_before 
314[[#3eb614e0]]
$buttons2_add_before 
41[[#3c377360]]
'a[class|name|href|target|title|onclick|rel]' 
42[[#3c377360]]
'img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]' 
43[[#3c377360]]
'template' 
44[[#3c377360]]
'nonbreaking' 
45[[#3c377360]]
'visualchars' 
46[[#3c377360]]
'cite,abbr,acronym,ins,del,attribs' 
47[[#3c377360]]
'styleprops' 
48[[#3c377360]]
'fullscreen' 
49[[#3c377360]]
'ltr,rtl' 
410[[#3c377360]]
'media' 
411[[#3c377360]]
'emotions' 
412[[#3c377360]]
'tablecontrols' 
413[[#3c377360]]
'|,search,replace,|' 
414[[#3c377360]]
'pastetext,pasteword,selectall' 
51[[#57f73900]]
// autosave
$autosave 
52[[#57f73900]]
// advlink
$advlink 
53[[#57f73900]]
// tinybrowser
$tinybrowser 
54[[#57f73900]]
// template
$template 
55[[#57f73900]]
// visualchars
$nonbreaking 
56[[#57f73900]]
// visualchars
$visualchars 
57[[#57f73900]]
// XHTMLxtras
$xhtmlxtras 
58[[#57f73900]]
// layer
$layer 
59[[#57f73900]]
// fullscreen
$fullscreen 
510[[#57f73900]]
// horizontal line
$hr 
511[[#57f73900]]
//media plugin
$media 
512[[#57f73900]]
// emotions
$smilies 
513[[#57f73900]]
// insert date and/or time plugin
$insertdate 
514[[#57f73900]]
// search & replace
$searchreplace 
61[[#4dd935a0]]
'autosave' 
62[[#4dd935a0]]
'advlink' 
63[[#4dd935a0]]
'tinybrowser' 
64[[#4dd935a0]]
'template' 
65[[#4dd935a0]]
'nonbreaking' 
66[[#4dd935a0]]
'visualchars' 
67[[#4dd935a0]]
'xhtmlxtras' 
68[[#4dd935a0]]
'layer' 
69[[#4dd935a0]]
'fullscreen' 
610[[#4dd935a0]]
'hr' 
611[[#4dd935a0]]
'media' 
612[[#4dd935a0]]
'smilies' 
613[[#4dd935a0]]
'insertdate' 
614[[#4dd935a0]]
'searchreplace'