| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 1 | 0.994 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 313 | libraries/simplepie/idn/idna_convert.class.php |
| 2 | 5 | 329 | libraries/simplepie/idn/idna_convert.class.php |
| ||||
$encoded= $this->_encode(array_slice($decoded, $last_begin, (($k)-$last_begin)));
if ($encoded) {
$output.= $encoded;
}
else {
$output.= $this->_ucs4_to_utf8(array_slice($decoded, $last_begin, (($k)-$last_begin)));
}
|
| ||||
$encoded= $this->_encode(array_slice($decoded, $last_begin, (($inp_len)-$last_begin)));
if ($encoded) {
$output.= $encoded;
}
else {
$output.= $this->_ucs4_to_utf8(array_slice($decoded, $last_begin, (($inp_len)-$last_begin)));
}
|
| |||
$encoded=$this->_encode(array_slice($decoded,$last_begin,(( [[#variable4dab23a0]])-$last_begin)));
if ($encoded) {
$output.=$encoded;
}
else {
$output.=$this->_ucs4_to_utf8(array_slice($decoded,$last_begin,(( [[#variable4dab23a0]])-$last_begin)));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4dab23a0]] | $k |
| 1 | 2 | [[#4dab23a0]] | $inp_len |