Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.953 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 579 | plugins/content/geshi/geshi.php |
2 | 2 | 1281 | plugins/content/geshi/geshi.php |
3 | 2 | 1356 | 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; } |
| ||||
/** * 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; } |
| ||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5160a960]] | enable_keyword_links |
1 | 2 | [[#5160a960]] | enable_ids |
1 | 3 | [[#5160a960]] | enable_classes |
2 | 1 | [[#5160a8c0]] | $enable |
2 | 2 | [[#5160a8c0]] | $flag |
2 | 3 | [[#5160a8c0]] | $flag |
3 | 1 | [[#5160a840]] | keyword_links |
3 | 2 | [[#5160a840]] | add_ids |
3 | 3 | [[#5160a840]] | use_classes |