Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.989 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 2309 | plugins/content/geshi/geshi.php |
2 | 13 | 2328 | 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>'; } |
| ||||
{ 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>'; } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#47734500]] | 'li1' |
1 | 2 | [[#47734500]] | 'li2' |
2 | 1 | [[#47734460]] | ' class="de1"' |
2 | 2 | [[#47734460]] | ' class="de2"' |
3 | 1 | [[#47734400]] | line_style1 |
3 | 2 | [[#47734400]] | line_style2 |