CloneSet561


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2540.958statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14159
libraries/joomla/registry/registry.php
2343
libraries/loader.php
32248
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/edit.php
4294
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tinybrowser.php
5235
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php
Clone Instance
1
Line Count
4
Source Line
159
Source File
libraries/joomla/registry/registry.php

                // Explode the registry path into an array
                $nodes=  explode('.', $regpath);

                // Get the namespace
                $count=  count($nodes);


Clone Instance
2
Line Count
3
Source Line
43
Source File
libraries/loader.php

                        $parts=  explode('.', $filePath);

                        $classname=  array_pop($parts);


Clone Instance
3
Line Count
2
Source Line
248
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/edit.php

        // get file extension
        $nameparts=  explode('.',$filename);
        $ext=  end($nameparts);


Clone Instance
4
Line Count
2
Source Line
94
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tinybrowser.php

                // get file extension
                $nameparts=  explode('.',$filename);
                $ext=  end($nameparts);


Clone Instance
5
Line Count
2
Source Line
35
Source File
plugins/editors/tinymce/jscripts/tiny_mce/plugins/tinybrowser/upload_process.php

                        //-- Bad extensions
                        $nameparts=  explode('.',$dest_filename);
                        $ext=  end($nameparts);


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variable21ea3600]]=explode('.', [[#variable21ea3500]]);
 [[#variable21ea3580]]= [[#variable21ea3520]]( [[#variable21ea3600]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21ea3600]]
// get file extension
$nameparts 
12[[#21ea3600]]
//-- Bad extensions
$nameparts 
13[[#21ea3600]]
$parts 
14[[#21ea3600]]
// Explode the registry path into an array
$nodes 
15[[#21ea3600]]
// get file extension
$nameparts 
21[[#21ea3500]]
$filename 
22[[#21ea3500]]
$dest_filename 
23[[#21ea3500]]
$filePath 
24[[#21ea3500]]
$regpath 
25[[#21ea3500]]
$filename 
31[[#21ea3580]]
$ext 
32[[#21ea3580]]
$ext 
33[[#21ea3580]]
$classname 
34[[#21ea3580]]
// Get the namespace
$count 
35[[#21ea3580]]
$ext 
41[[#21ea3520]]
end 
42[[#21ea3520]]
end 
43[[#21ea3520]]
array_pop 
44[[#21ea3520]]
count 
45[[#21ea3520]]
end