Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.997 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 192 | libraries/simplepie/idn/idna_convert.class.php |
2 | 7 | 200 | libraries/simplepie/idn/idna_convert.class.php |
| ||||
foreach ($arr as $k => $v) { if (preg_match('!^' . preg_quote($this->_punycode_prefix ,'!') . '!', $v)) { $conv= $this->_decode($v); if ($conv) $arr[$k]= $conv; } } $input= join('.', $arr); |
| ||||
foreach ($arr as $k => $v) { if (preg_match('!^' . preg_quote($this->_punycode_prefix ,'!') . '!', $v)) { $conv= $this->_decode($v); if ($conv) $arr[$k]= $conv; } } $email_pref= join('.', $arr); |
| |||
foreach ($arr as $k => $v) { if (preg_match('!^' . preg_quote($this->_punycode_prefix ,'!') . '!',$v)) { $conv=$this->_decode($v); if ($conv) $arr[$k]=$conv; } } [[#variable525b7380]]=join('.',$arr); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#525b7380]] | $email_pref |
1 | 2 | [[#525b7380]] | $input |