Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.995 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 169 | libraries/joomla/html/pane.php |
2 | 14 | 272 | libraries/joomla/html/pane.php |
| ||||
foreach ($opt as $k => $v) { if ($v) { $options.= $k . ': ' . $v . ','; } } if (substr($options, -1) == ',') { $options= substr($options, 0, -1); } $options.= '}'; $js= "\t\twindow.addEvent('domready', function(){ \$\$('dl.tabs').each(function(tabs){ new JTabs(tabs, " . $options . '); }); });'; $document->addScriptDeclaration($js); |
| ||||
foreach ($opt as $k => $v) { if ($v) { $options.= $k . ': ' . $v . ','; } } if (substr($options, -1) == ',') { $options= substr($options, 0, -1); } $options.= '}'; $js= "\t\twindow.addEvent('domready', function(){ new Accordion(\$\$('.panel h3.jpane-toggler'), \$\$('.panel div.jpane-slider'), " . $options . '); });'; $document->addScriptDeclaration($js); |
| |||
foreach ($opt as $k => $v) { if ($v) { $options.=$k . ': ' . $v . ','; } } if (substr($options,-1) == ',') { $options=substr($options,0,-1); } $options.='}'; $js= [[#variable4828b8a0]] . $options . [[#variable4828b880]]; $document->addScriptDeclaration($js); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4828b8a0]] | "\t\twindow.addEvent('domready', function(){ new Accordion(\$\$('.panel h3.jpane-toggler'), \$\$('.panel div.jpane-slider'), " |
1 | 2 | [[#4828b8a0]] | "\t\twindow.addEvent('domready', function(){ \$\$('dl.tabs').each(function(tabs){ new JTabs(tabs, " |
2 | 1 | [[#4828b880]] | '); });' |
2 | 2 | [[#4828b880]] | '); }); });' |