Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 4 | 0.974 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 104 | plugins/search/categories.php |
2 | 7 | 101 | plugins/search/sections.php |
3 | 8 | 138 | plugins/search/weblinks.php |
| ||||
$return= array(); foreach ($rows as $key => $category) { if (searchHelper::checkNoHTML($category, $searchText, array( 'name', 'title', 'text' ))) { $return[]= $category; } } return $return; |
| ||||
$return= array(); foreach ($rows as $key => $section) { if (searchHelper::checkNoHTML($section, $searchText, array( 'name', 'title', 'text' ))) { $return[]= $section; } } return $return; |
| ||||
$return= array(); foreach ($rows as $key => $weblink) { if (searchHelper::checkNoHTML($weblink, $searchText, array( 'url', 'text', 'title' ))) { $return[]= $weblink; } } return $return; |
| |||
$return=array(); foreach ($rows as $key => [[#variable58c16c60]]) { if (searchHelper::checkNoHTML( [[#variable58c16c60]],$searchText,array( [[#variable58c16c00]], [[#variable58223fc0]], [[#variable58c16bc0]] ))) { $return[]= [[#variable58c16c60]]; } } return $return; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58c16c60]] | $weblink |
1 | 2 | [[#58c16c60]] | $section |
1 | 3 | [[#58c16c60]] | $category |
2 | 1 | [[#58c16c00]] | 'url' |
2 | 2 | [[#58c16c00]] | 'name' |
2 | 3 | [[#58c16c00]] | 'name' |
3 | 1 | [[#58223fc0]] | 'text' |
3 | 2 | [[#58223fc0]] | 'title' |
3 | 3 | [[#58223fc0]] | 'title' |
4 | 1 | [[#58c16bc0]] | 'title' |
4 | 2 | [[#58c16bc0]] | 'text' |
4 | 3 | [[#58c16bc0]] | 'text' |