Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.976 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 75 | plugins/content/emailcloak.php |
2 | 2 | 98 | plugins/content/pagebreak.php |
3 | 2 | 202 | plugins/content/pagenavigation.php |
4 | 3 | 57 | plugins/search/content.php |
| ||||
// Load plugin params info $pluginParams= new JParameter($plugin->params); $mode= $pluginParams->def('mode', 1); |
| ||||
// Get plugin parameters $pluginParams= new JParameter($plugin->params); $title= $pluginParams->get('title', 1); |
| ||||
// Get the plugin parameters $pluginParams= new JParameter($plugin->params); $position= $pluginParams->get('position', 1); |
| ||||
$pluginParams= new JParameter($plugin->params); $sContent= $pluginParams->get('search_content', 1); |
| |||
// Load plugin params info // Get plugin parameters // Get the plugin parameters $pluginParams=new JParameter($plugin->params); [[#variable4cf69280]]=$pluginParams-> [[#variable4cf69200]]( [[#variable4cf691e0]],1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4cf69280]] | $mode |
1 | 2 | [[#4cf69280]] | $title |
1 | 3 | [[#4cf69280]] | $position |
1 | 4 | [[#4cf69280]] | $sContent |
2 | 1 | [[#4cf69200]] | def |
2 | 2 | [[#4cf69200]] | get |
2 | 3 | [[#4cf69200]] | get |
2 | 4 | [[#4cf69200]] | get |
3 | 1 | [[#4cf691e0]] | 'mode' |
3 | 2 | [[#4cf691e0]] | 'title' |
3 | 3 | [[#4cf691e0]] | 'position' |
3 | 4 | [[#4cf691e0]] | 'search_content' |