Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 4 | 0.959 | or_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 152 | administrator/modules/mod_menu/menu.php |
2 | 1 | 159 | administrator/modules/mod_menu/menu.php |
3 | 1 | 480 | libraries/joomla/application/component/view.php |
| ||||
// Strip the filename without extension and use that for the classname $class= preg_replace('#\\.[^.]*$#','', basename($identifier)) |
| ||||
// Build the CSS class for the icon $class= preg_replace('#\\.[^.]*$#','', basename($identifier)) |
| ||||
$value= preg_replace('#[^A-Za-z0-9]#', '', trim($value)) |
| |||
[[#variable2252d100]]=preg_replace( [[#variable2252d040]],'', [[#variable2252c360]]( [[#variable2252d080]])) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2252d100]] | // Build the CSS class for the icon $class |
1 | 2 | [[#2252d100]] | $value |
1 | 3 | [[#2252d100]] | // Strip the filename without extension and use that for the classname $class |
2 | 1 | [[#2252d040]] | '#\\.[^.]*$#' |
2 | 2 | [[#2252d040]] | '#[^A-Za-z0-9]#' |
2 | 3 | [[#2252d040]] | '#\\.[^.]*$#' |
3 | 1 | [[#2252c360]] | basename |
3 | 2 | [[#2252c360]] | trim |
3 | 3 | [[#2252c360]] | basename |
4 | 1 | [[#2252d080]] | $identifier |
4 | 2 | [[#2252d080]] | $value |
4 | 3 | [[#2252d080]] | $identifier |