CloneSet484


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11330.977statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11169
libraries/joomla/error/profiler.php
21182
libraries/joomla/html/toolbar.php
31166
libraries/joomla/registry/registry.php
Clone Instance
1
Line Count
11
Source Line
69
Source File
libraries/joomla/error/profiler.php

                static $instances;

                if (! isset ($instances)) {
                        $instances=  array();
                      }

                if (empty($instances[$prefix])) {
                        $instances[$prefix]=  new JProfiler($prefix);
                      }

                return $instances[$prefix];


Clone Instance
2
Line Count
11
Source Line
82
Source File
libraries/joomla/html/toolbar.php

                static $instances;

                if (! isset ($instances)) {
                        $instances=  array();
                      }

                if (empty( $instances[$name])) {
                        $instances[$name]=  new JToolBar($name);
                      }

                return $instances[$name];


Clone Instance
3
Line Count
11
Source Line
66
Source File
libraries/joomla/registry/registry.php

                static $instances;

                if (! isset ($instances)) {
                        $instances=  array();
                      }

                if (empty( $instances[$id])) {
                        $instances[$id]=  new JRegistry($namespace);
                      }

                return $instances[$id];


Clone AbstractionParameter Count: 3Parameter Bindings

static $instances;
if (! isset ($instances)) {
  $instances=array();
}
if (empty($instances[ [[#variable4f942b00]]])) {
  $instances[ [[#variable4f942b00]]]=new [[#variable4f942a80]]( [[#variable4f942a20]]);
}
return $instances[ [[#variable4f942b00]]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4f942b00]]
$prefix 
12[[#4f942b00]]
$name 
13[[#4f942b00]]
$id 
21[[#4f942a80]]
JProfiler 
22[[#4f942a80]]
JToolBar 
23[[#4f942a80]]
JRegistry 
31[[#4f942a20]]
$prefix 
32[[#4f942a20]]
$name 
33[[#4f942a20]]
$namespace