CloneSet675


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.984class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113998
plugins/content/geshi/geshi.php
2131019
plugins/content/geshi/geshi.php
Clone Instance
1
Line Count
13
Source Line
998
Source File
plugins/content/geshi/geshi.php

    /**
     * Disables all highlighting
     *
     * @since 1.0.0
     * @todo Rewrite with an array traversal
     */
    function disable_highlighting() {
        foreach ($this->lexic_permissions as $key => $value) {
            if (is_array($value)) {
                foreach ($value as $k => $v) {
                    $this->lexic_permissions[$key][$k]=  FALSE;
                  }
              }
            else {
                $this->lexic_permissions[$key]=  FALSE;
              }
          }
        // Context blocks
        $this->enable_important_blocks = FALSE;
      }


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

    /**
     * Enables all highlighting
     *
     * @since 1.0.0
     * @todo  Rewrite with array traversal
     */
    function enable_highlighting() {
        foreach ($this->lexic_permissions as $key => $value) {
            if (is_array($value)) {
                foreach ($value as $k => $v) {
                    $this->lexic_permissions[$key][$k]=  TRUE;
                  }
              }
            else {
                $this->lexic_permissions[$key]=  TRUE;
              }
          }
        // Context blocks
        $this->enable_important_blocks = TRUE;
      }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Enables all highlighting
     *
     * @since 1.0.0
     * @todo  Rewrite with array traversal
     */
/**
     * Disables all highlighting
     *
     * @since 1.0.0
     * @todo Rewrite with an array traversal
     */
function [[#variable25410c60]]() {
  foreach ($this->lexic_permissions as $key => $value) {
    if (is_array($value)) {
      foreach ($value as $k => $v) {
        $this->lexic_permissions[$key][$k]= [[#variable25410c00]];
      }
    }
    else {
      $this->lexic_permissions[$key]= [[#variable25410c00]];
    }
  }
  // Context blocks
  $this->enable_important_blocks = [[#variable25410c00]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#25410c60]]
enable_highlighting 
12[[#25410c60]]
disable_highlighting 
21[[#25410c00]]
TRUE 
22[[#25410c00]]
FALSE