| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 15 | 2 | 0 | 1.000 | statement_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 15 | 60 | libraries/joomla/html/parameter/element/list.php |
| 2 | 15 | 33 | libraries/joomla/html/parameter/element/usergroup.php |
| ||||
$ctrl= $control_name
. '['
. $name
. ']';
$attribs= ' ';
if ($v= $node->attributes('size')) {
$attribs.= 'size="'
. $v
. '"';
}
if ($v= $node->attributes('class')) {
$attribs.= 'class="'
. $v
. '"';
}
else {
$attribs.= 'class="inputbox"';
}
if ($m= $node->attributes('multiple'))
{
$attribs.= 'multiple="multiple"';
$ctrl.= '[]';
}
|
| ||||
$ctrl= $control_name
. '['
. $name
. ']';
$attribs= ' ';
if ($v= $node->attributes('size')) {
$attribs.= 'size="'
. $v
. '"';
}
if ($v= $node->attributes('class')) {
$attribs.= 'class="'
. $v
. '"';
}
else {
$attribs.= 'class="inputbox"';
}
if ($m= $node->attributes('multiple'))
{
$attribs.= 'multiple="multiple"';
$ctrl.= '[]';
//$value = implode('|',)
}
|
| |||
$ctrl=$control_name
. '['
. $name
. ']';
$attribs=' ';
if ($v=$node->attributes('size')) {
$attribs.='size="'
. $v
. '"';
}
if ($v=$node->attributes('class')) {
$attribs.='class="'
. $v
. '"';
}
else {
$attribs.='class="inputbox"';
}
if ($m=$node->attributes('multiple')) {
$attribs.='multiple="multiple"';
$ctrl.='[]';
//$value = implode('|',)
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||