Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 664 | libraries/joomla/installer/installer.php |
2 | 2 | 176 | libraries/joomla/updater/update.php |
| ||||
// Create an array of queries from the sql file jimport('joomla.installer.helper'); $queries= JInstallerHelper::splitSql($buffer); |
| ||||
jimport('joomla.installer.helper'); $p_file= JInstallerHelper::downloadPackage($url); |
| |||
// Create an array of queries from the sql file jimport('joomla.installer.helper'); [[#variable5162f060]]=JInstallerHelper:: [[#variable5162f000]]( [[#variable5162f020]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5162f060]] | $p_file |
1 | 2 | [[#5162f060]] | $queries |
2 | 1 | [[#5162f000]] | downloadPackage |
2 | 2 | [[#5162f000]] | splitSql |
3 | 1 | [[#5162f020]] | $url |
3 | 2 | [[#5162f020]] | $buffer |