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[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 296 | libraries/joomla/utilities/string.php |
2 | 7 | 371 | libraries/joomla/utilities/string.php |
| ||||
$mask= preg_replace('!([\\\\\\-\\]\\[/^])!','\\\\${1}',$mask); if ($start !== NULL || $length !== NULL) { $str= JString::substr($str, $start, $length); } preg_match('/^[^' . $mask . ']+/u',$str, $matches); |
| ||||
$mask= preg_replace('!([\\\\\\-\\]\\[/^])!','\\\\${1}',$mask); if ($start !== NULL || $length !== NULL) { $str= JString::substr($str, $start, $length); } preg_match('/^[' . $mask . ']+/u',$str, $matches); |
| |||
$mask=preg_replace('!([\\\\\\-\\]\\[/^])!','\\\\${1}',$mask); if ($start !== NULL || $length !== NULL) { $str=JString::substr($str,$start,$length); } preg_match( [[#variable24568ee0]] . $mask . ']+/u',$str,$matches); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24568ee0]] | '/^[' |
1 | 2 | [[#24568ee0]] | '/^[^' |