CloneSet1335


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2340.956if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13255
administrator/components/com_config/controllers/application.php
23259
administrator/components/com_config/controllers/application.php
32348
plugins/authentication/openid/Auth/OpenID.php
Clone Instance
1
Line Count
3
Source Line
255
Source File
administrator/components/com_config/controllers/application.php

                if (strpos($file_path, '..') !== FALSE) {
                        //downward directories.  Kill it and default to images/
                        $file_path=  'images';
                      }


Clone Instance
2
Line Count
3
Source Line
259
Source File
administrator/components/com_config/controllers/application.php

                if (strpos($image_path, '..') !== FALSE) {
                        //downward directories  Kill it and default to images/stories
                        $image_path=  'images/stories';
                      }


Clone Instance
3
Line Count
2
Source Line
348
Source File
plugins/authentication/openid/Auth/OpenID.php

        if (strpos($url, '?') !== FALSE) {
            $sep=  '&';
          }


Clone AbstractionParameter Count: 4Parameter Bindings

if (strpos( [[#variable47781c80]], [[#variable47781be0]]) !== FALSE) {
   [[#variable47781b60]]= [[#variable47781ac0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#47781c80]]
$url 
12[[#47781c80]]
$file_path 
13[[#47781c80]]
$image_path 
21[[#47781be0]]
'?' 
22[[#47781be0]]
'..' 
23[[#47781be0]]
'..' 
31[[#47781b60]]
$sep 
32[[#47781b60]]
//downward directories.  Kill it and default to images/
$file_path 
33[[#47781b60]]
//downward directories  Kill it and default to images/stories
$image_path 
41[[#47781ac0]]
'&' 
42[[#47781ac0]]
'images' 
43[[#47781ac0]]
'images/stories'