| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.990 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 6998 | libraries/simplepie/simplepie.php |
| 2 | 3 | 7022 | libraries/simplepie/simplepie.php |
| ||||
$len= strcspn($this->data ,"\r\n", $this->position);
$this->reason = substr($this->data ,$this->position ,$len);
$this->position += $len;
|
| ||||
$len= strcspn($this->data ,':', $this->position);
$this->name = substr($this->data ,$this->position ,$len);
$this->position += $len;
|
| |||
$len=strcspn($this->data , [[#variable4b1fc0e0]],$this->position); $this-> [[#variable2488f5e0]]=substr($this->data ,$this->position ,$len); $this->position += $len; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4b1fc0e0]] | ':' |
| 1 | 2 | [[#4b1fc0e0]] | "\r\n" |
| 2 | 1 | [[#2488f5e0]] | name |
| 2 | 2 | [[#2488f5e0]] | reason |