Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 234 | libraries/joomla/environment/browser.php |
2 | 5 | 89 | libraries/joomla/error/log.php |
| ||||
if (empty($instances[$signature])) { $instances[$signature]= new JBrowser($userAgent, $accept); } return $instances[$signature]; |
| ||||
if (empty( $instances[$sig])) { $instances[$sig]= new JLog($path, $options); } return $instances[$sig]; |
| |||
if (empty($instances[ [[#variable3cd8e100]]])) { $instances[ [[#variable3cd8e100]]]=new [[#variable3cd8e060]]( [[#variable40713940]], [[#variable41de3f80]]); } return $instances[ [[#variable3cd8e100]]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cd8e100]] | $signature |
1 | 2 | [[#3cd8e100]] | $sig |
2 | 1 | [[#3cd8e060]] | JBrowser |
2 | 2 | [[#3cd8e060]] | JLog |
3 | 1 | [[#40713940]] | $userAgent |
3 | 2 | [[#40713940]] | $path |
4 | 1 | [[#41de3f80]] | $accept |
4 | 2 | [[#41de3f80]] | $options |