CloneSet319


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11560
libraries/joomla/html/parameter/element/list.php
21533
libraries/joomla/html/parameter/element/usergroup.php
Clone Instance
1
Line Count
15
Source Line
60
Source File
libraries/joomla/html/parameter/element/list.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.=            '[]';
                      }


Clone Instance
2
Line Count
15
Source Line
33
Source File
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.=            '[]';
                        //$value                = implode('|',)
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

$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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None