Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 3 | 0.977 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 69 | libraries/joomla/error/profiler.php |
2 | 11 | 82 | libraries/joomla/html/toolbar.php |
3 | 11 | 66 | libraries/joomla/registry/registry.php |
| ||||
static $instances; if (! isset ($instances)) { $instances= array(); } if (empty($instances[$prefix])) { $instances[$prefix]= new JProfiler($prefix); } return $instances[$prefix]; |
| ||||
static $instances; if (! isset ($instances)) { $instances= array(); } if (empty( $instances[$name])) { $instances[$name]= new JToolBar($name); } return $instances[$name]; |
| ||||
static $instances; if (! isset ($instances)) { $instances= array(); } if (empty( $instances[$id])) { $instances[$id]= new JRegistry($namespace); } return $instances[$id]; |
| |||
static $instances; if (! isset ($instances)) { $instances=array(); } if (empty($instances[ [[#variable4f942b00]]])) { $instances[ [[#variable4f942b00]]]=new [[#variable4f942a80]]( [[#variable4f942a20]]); } return $instances[ [[#variable4f942b00]]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4f942b00]] | $prefix |
1 | 2 | [[#4f942b00]] | $name |
1 | 3 | [[#4f942b00]] | $id |
2 | 1 | [[#4f942a80]] | JProfiler |
2 | 2 | [[#4f942a80]] | JToolBar |
2 | 3 | [[#4f942a80]] | JRegistry |
3 | 1 | [[#4f942a20]] | $prefix |
3 | 2 | [[#4f942a20]] | $name |
3 | 3 | [[#4f942a20]] | $namespace |