Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.965 | foreach_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 100 | plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php |
2 | 5 | 108 | 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"); } |
| ||||
// 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"); } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21348cc0]] | $themes |
1 | 2 | [[#21348cc0]] | $plugins |
2 | 1 | [[#21348c20]] | $theme |
2 | 2 | [[#21348c20]] | $plugin |
3 | 1 | [[#21348bc0]] | "themes/" |
3 | 2 | [[#21348bc0]] | "plugins/" |
4 | 1 | [[#21348b40]] | "/editor_template" |
4 | 2 | [[#21348b40]] | "/editor_plugin" |