CloneSet550


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.997statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17296
libraries/joomla/utilities/string.php
27371
libraries/joomla/utilities/string.php
Clone Instance
1
Line Count
7
Source Line
296
Source File
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);


Clone Instance
2
Line Count
7
Source Line
371
Source File
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);


Clone AbstractionParameter Count: 1Parameter Bindings

$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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24568ee0]]
'/^[' 
12[[#24568ee0]]
'/^[^'