CloneSet1242


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.972if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13247
administrator/components/com_config/controllers/application.php
23251
administrator/components/com_config/controllers/application.php
Clone Instance
1
Line Count
3
Source Line
247
Source File
administrator/components/com_config/controllers/application.php

                if (strpos($file_path, '/') === 0
                    ||                               strpos($file_path, '\\') === 0) {
                        //Leading slash.  Kill it and default to /media
                        $file_path=  'images';
                      }


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

                if (strpos($image_path, '/') === 0
                    ||                                strpos($image_path, '\\') === 0) {
                        //Leading slash.  Kill it and default to /media
                        $image_path=  'images/stories';
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

if (strpos( [[#variable20a53f80]],'/') === 0
    || strpos( [[#variable20a53f80]],'\\') === 0) {
   [[#variable20a53f80]]= [[#variable20a53fa0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20a53f80]]
$image_path 
12[[#20a53f80]]
$file_path 
21[[#20a53fa0]]
'images/stories' 
22[[#20a53fa0]]
'images'