Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 262 | plugins/authentication/openid/Auth/OpenID/Parse.php |
2 | 15 | 213 | plugins/authentication/openid/Auth/Yadis/ParseHTML.php |
| ||||
foreach ($link_matches[0] as $link) { $attr_matches= array(); preg_match_all($this->_attr_find ,$link, $attr_matches); $link_attrs= array(); foreach ($attr_matches[0] as $index => $full_match) { $name= $attr_matches[1][$index]; $value= $this->replaceEntities( $this->removeQuotes($attr_matches[2][$index])); $link_attrs[strtolower($name)]= $value; } $link_data[]= $link_attrs; } return $link_data; |
| ||||
foreach ($link_matches[0] as $link) { $attr_matches= array(); preg_match_all($this->_attr_find ,$link, $attr_matches); $link_attrs= array(); foreach ($attr_matches[0] as $index => $full_match) { $name= $attr_matches[1][$index]; $value= $this->replaceEntities( $this->removeQuotes($attr_matches[2][$index])); $link_attrs[strtolower($name)]= $value; } $link_data[]= $link_attrs; } return $link_data; |
| |||
foreach ($link_matches[0] as $link) { $attr_matches=array(); preg_match_all($this->_attr_find ,$link,$attr_matches); $link_attrs=array(); foreach ($attr_matches[0] as $index => $full_match) { $name=$attr_matches[1][$index]; $value=$this->replaceEntities($this->removeQuotes($attr_matches[2][$index])); $link_attrs[strtolower($name)]=$value; } $link_data[]=$link_attrs; } return $link_data; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |