CloneSet888


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.965foreach_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15100
plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php
25108
plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php
Clone Instance
1
Line Count
5
Source Line
100
Source File
plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php

        // Add themes
        foreach ($themes as $theme) {
                $content.=  getFileContents( "themes/"
                                             .           $theme
                                             .                    "/editor_template"
                                             .                                         $suffix
                                             .                                                   ".js");
                foreach ($languages as $lang)
                        $content.=  getFileContents("themes/"
                                                    .           $theme
                                                    .                    "/langs/"
                                                    .                                $lang
                                                    .                                        ".js");
              }


Clone Instance
2
Line Count
5
Source Line
108
Source File
plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php

        // Add plugins
        foreach ($plugins as $plugin) {
                $content.=  getFileContents("plugins/"
                                            .            $plugin
                                            .                      "/editor_plugin"
                                            .                                         $suffix
                                            .                                                   ".js");
                foreach ($languages as $lang)
                        $content.=  getFileContents("plugins/"
                                                    .            $plugin
                                                    .                      "/langs/"
                                                    .                                  $lang
                                                    .                                          ".js");
              }


Clone AbstractionParameter Count: 4Parameter Bindings

// Add themes
// Add plugins
foreach ( [[#variable21348cc0]]as [[#variable21348c20]]) {
  $content.=getFileContents( [[#variable21348bc0]]
                            .  [[#variable21348c20]]
                            .  [[#variable21348b40]]
                            . $suffix
                            . ".js");
  foreach ($languages as $lang)
    $content.=getFileContents( [[#variable21348bc0]]
                              .  [[#variable21348c20]]
                              . "/langs/"
                              . $lang
                              . ".js");
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21348cc0]]
$themes 
12[[#21348cc0]]
$plugins 
21[[#21348c20]]
$theme 
22[[#21348c20]]
$plugin 
31[[#21348bc0]]
"themes/" 
32[[#21348bc0]]
"plugins/" 
41[[#21348b40]]
"/editor_template" 
42[[#21348b40]]
"/editor_plugin"