CloneSet726


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1675
libraries/joomla/html/html/image.php
26134
libraries/joomla/html/html/image.php
Clone Instance
1
Line Count
6
Source Line
75
Source File
libraries/joomla/html/html/image.php

                if (substr($src, 0, 1) == "/") {
                        $src=  substr_replace($src, '', 0, 1);
                      }

                // Prepend the base path
                $src=  JURI::base(TRUE)
                       .                '/'
                       .                    $src;


Clone Instance
2
Line Count
6
Source Line
134
Source File
libraries/joomla/html/html/image.php

                if (substr($image, 0, 1) == "/") {
                        $image=  substr_replace($image, '', 0, 1);
                      }

                // Prepend the base path
                $image=  JURI::base(TRUE)
                         .                '/'
                         .                    $image;


Clone AbstractionParameter Count: 1Parameter Bindings

if (substr( [[#variable20f54440]],0,1) == "/") {
   [[#variable20f54440]]=substr_replace( [[#variable20f54440]],'',0,1);
}
 [[#variable20f54440]]=JURI::base(TRUE)
                       . '/'
                       .  [[#variable20f54440]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20f54440]]
$src 
12[[#20f54440]]
$image