CloneSet644


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.989statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1182309
plugins/content/geshi/geshi.php
2132328
plugins/content/geshi/geshi.php
Clone Instance
1
Line Count
18
Source Line
2309
Source File
plugins/content/geshi/geshi.php

                                                                           {
                    // Set the attributes to style the line
                    if ($this->use_classes) {
                        //$attr = ' class="li2"';
                        $attrs['class'][]=  'li2';
                        $def_attr=  ' class="de2"';
                      }
                    else {
                        //$attr = ' style="' . $this->line_style2 . '"';
                        $attrs['style'][]=  $this->line_style2;
                        // This style "covers up" the special styles set for special lines
                        // so that styles applied to special lines don't apply to the actual
                        // code on that line
                        $def_attr=  ' style="'
                                    .            $this->code_style
                                    .                                '"';
                      }
                    // Span or div?
                    $start=  "<div$def_attr>";
                    $end=  '</div>';
                  }


Clone Instance
2
Line Count
13
Source Line
2328
Source File
plugins/content/geshi/geshi.php

                     {
                    if ($this->use_classes) {
                        //$attr = ' class="li1"';
                        $attrs['class'][]=  'li1';
                        $def_attr=  ' class="de1"';
                      }
                    else {
                        //$attr = ' style="' . $this->line_style1 . '"';
                        $attrs['style'][]=  $this->line_style1;
                        $def_attr=  ' style="'
                                    .            $this->code_style
                                    .                                '"';
                      }
                    $start=  "<div$def_attr>";
                    $end=  '</div>';
                  }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // Set the attributes to style the line
  if ($this->use_classes) {
    //$attr = ' class="li1"';
    //$attr = ' class="li2"';
    $attrs['class'][]= [[#variable47734500]];
    $def_attr= [[#variable47734460]];
  }
  else {
    //$attr = ' style="' . $this->line_style1 . '"';
    //$attr = ' style="' . $this->line_style2 . '"';
    $attrs['style'][]=$this-> [[#variable47734400]];
    // This style "covers up" the special styles set for special lines
    // so that styles applied to special lines don't apply to the actual
    // code on that line
    $def_attr=' style="'
              . $this->code_style
              . '"';
  }
  // Span or div?
  $start= "<div$def_attr>";
  $end='</div>';
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#47734500]]
'li1' 
12[[#47734500]]
'li2' 
21[[#47734460]]
' class="de1"' 
22[[#47734460]]
' class="de2"' 
31[[#47734400]]
line_style1 
32[[#47734400]]
line_style2