CloneSet1429


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2330.953class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12579
plugins/content/geshi/geshi.php
221281
plugins/content/geshi/geshi.php
321356
plugins/content/geshi/geshi.php
Clone Instance
1
Line Count
2
Source Line
579
Source File
plugins/content/geshi/geshi.php

    /**
     * Sets whether CSS classes should be used to highlight the source. Default
     * is off, calling this method with no arguments will turn it on
     *
     * @param boolean Whether to turn classes on or not
     * @since 1.0.0
     */
    function enable_classes($flag=  TRUE) {
        $this->use_classes = ($flag)
                             ?         TRUE
                             :                FALSE;
      }


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

    /**
     * Whether CSS IDs should be added to each line
     *
     * @param boolean If true, IDs will be added to each line.
     * @since 1.0.2
     */
    function enable_ids($flag=  TRUE) {
        $this->add_ids = ($flag)
                         ?         TRUE
                         :                FALSE;
      }


Clone Instance
3
Line Count
2
Source Line
1356
Source File
plugins/content/geshi/geshi.php

    /**
     * Turns linking of keywords on or off.
     *
     * @param boolean If true, links will be added to keywords
     */
    function enable_keyword_links($enable=  TRUE) {
        $this->keyword_links = ($enable)
                               ?           TRUE
                               :                  FALSE;
      }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Turns linking of keywords on or off.
     *
     * @param boolean If true, links will be added to keywords
     */
/**
     * Whether CSS IDs should be added to each line
     *
     * @param boolean If true, IDs will be added to each line.
     * @since 1.0.2
     */
/**
     * Sets whether CSS classes should be used to highlight the source. Default
     * is off, calling this method with no arguments will turn it on
     *
     * @param boolean Whether to turn classes on or not
     * @since 1.0.0
     */
function [[#variable5160a960]]( [[#variable5160a8c0]]=TRUE) {
  $this-> [[#variable5160a840]]=( [[#variable5160a8c0]])
                                ? TRUE
                                : FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5160a960]]
enable_keyword_links 
12[[#5160a960]]
enable_ids 
13[[#5160a960]]
enable_classes 
21[[#5160a8c0]]
$enable 
22[[#5160a8c0]]
$flag 
23[[#5160a8c0]]
$flag 
31[[#5160a840]]
keyword_links 
32[[#5160a840]]
add_ids 
33[[#5160a840]]
use_classes