CloneSet1158


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.961statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1460
libraries/joomla/utilities/string.php
24120
libraries/joomla/utilities/string.php
Clone Instance
1
Line Count
4
Source Line
60
Source File
libraries/joomla/utilities/string.php

                        if ($offset === FALSE) {
                                return mb_strpos($str, $search);
                              }
                        else   {
                                return mb_strpos($str, $search, $offset);
                              }


Clone Instance
2
Line Count
4
Source Line
120
Source File
libraries/joomla/utilities/string.php

                if ($length === FALSE) {
                        return mb_substr($str, $offset);
                      }
                else   {
                        return mb_substr($str, $offset, $length);
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable233061a0]]=== FALSE) {
  return [[#variable233152a0]]($str, [[#variable233061e0]]);
}
else {
  return [[#variable233152a0]]($str, [[#variable233061e0]], [[#variable233061a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#233061a0]]
$offset 
12[[#233061a0]]
$length 
21[[#233152a0]]
mb_strpos 
22[[#233152a0]]
mb_substr 
31[[#233061e0]]
$search 
32[[#233061e0]]
$offset