Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 1 | 0.964 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 387 | plugins/editors/tinymce.php |
2 | 10 | 424 | plugins/editors/tinymce.php |
3 | 11 | 469 | plugins/editors/tinymce.php |
| ||||
/* Simple mode*/ if ($compressed) { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js\"></script>\n"; $load.= "\t<script type=\"text/javascript\">\n\t tinyMCE_GZ.init({\n\t\t\t\tthemes : \"$theme[$mode]\",\n\t\t\t\tlanguages : \"" . $langPrefix . "\"\n\t\t\t\t});\n\t\t\t\t</script>"; } else { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>\n"; } |
| ||||
/* Advanced mode*/ if ($compressed) { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js\"></script>\n"; $load.= "\t<script type=\"text/javascript\">\n\t tinyMCE_GZ.init({\n\t\t\t\tthemes : \"$theme[$mode]\",\n\t\t\t\tlanguages : \"" . $langPrefix . "\"\n\t\t\t\t});\n\t\t\t\t</script>"; } else { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>\n"; } |
| ||||
/* Extended mode*/ if ($compressed) { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js\"></script>\n"; $load.= "\t<script type=\"text/javascript\">\n\t tinyMCE_GZ.init({\n\t\t\t\tthemes : \"$theme[$mode]\",\n\t\t\t\tplugins : \"$plugins\",\n\t\t\t\tlanguages : \"" . $langPrefix . "\"\n\t\t\t\t});\n\t\t\t\t</script>"; } else { $load= "\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>\n"; } |
| |||
/* Simple mode*/ /* Extended mode*/ /* Advanced mode*/ if ($compressed) { $load="\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js\"></script>\n"; $load.= "\t<script type=\"text/javascript\">\n\t tinyMCE_GZ.init({\n\t\t\t\tthemes : \" [[#variable223a7280]]\",\n\t\t\t\tlanguages : \"" . $langPrefix . "\"\n\t\t\t\t});\n\t\t\t\t</script>"; } else { $load="\t<script type=\"text/javascript\" src=\"" . JURI::root() . "plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>\n"; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#223a7280]] | $theme[$mode] |
1 | 2 | [[#223a7280]] | $theme[$mode]\",\n\t\t\t\tplugins : \"$plugins |
1 | 3 | [[#223a7280]] | $theme[$mode] |