CloneSet280


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113105
libraries/joomla/html/html/select.php
213180
libraries/joomla/html/html/select.php
Clone Instance
1
Line Count
13
Source Line
105
Source File
libraries/joomla/html/html/select.php

                if ( isset ($options['list.attr'])) {
                        if (is_array($options['list.attr'])) {
                                $attribs=  JArrayHelper::toString($options['list.attr']);
                              }
                        else   {
                                $attribs=  $options['list.attr'];
                              }
                        if ($attribs != '') {
                                $attribs=  ' '
                                           .     $attribs;
                              }
                      }
                $id=  $options['id'] !== FALSE
                      ?                          $options['id']
                      :                                           $name;
                $id=  str_replace(array( '[', ']'
                                       ),          '', $id);


Clone Instance
2
Line Count
13
Source Line
180
Source File
libraries/joomla/html/html/select.php

                if ( isset ($options['list.attr'])) {
                        if (is_array($options['list.attr'])) {
                                $attribs=  JArrayHelper::toString($options['list.attr']);
                              }
                        else   {
                                $attribs=  $options['list.attr'];
                              }
                        if ($attribs != '') {
                                $attribs=  ' '
                                           .     $attribs;
                              }
                      }
                $id=  $options['id'] !== FALSE
                      ?                          $options['id']
                      :                                           $name;
                $id=  str_replace(array( '[', ']'
                                       ),          '', $id);


Clone AbstractionParameter Count: 0Parameter Bindings

if ( isset ($options['list.attr'])) {
  if (is_array($options['list.attr'])) {
    $attribs=JArrayHelper::toString($options['list.attr']);
  }
  else {
    $attribs=$options['list.attr'];
  }
  if ($attribs != '') {
    $attribs=' '
             . $attribs;
  }
}
$id=$options['id'] !== FALSE
    ? $options['id']
    : $name;
$id=str_replace(array( '[',
                       ']'
                     ),'',$id);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None