Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.979 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 61 | libraries/joomla/database/database/mysql.php |
2 | 4 | 81 | libraries/joomla/database/database/mysqli.php |
| ||||
// perform a number of fatality checks, then return gracefully if (!function_exists('mysql_connect')) { $this->_errorNum = 1; $this->_errorMsg = 'The MySQL adapter "mysql" is not available.'; return; } |
| ||||
// perform a number of fatality checks, then return gracefully if (!function_exists('mysqli_connect')) { $this->_errorNum = 1; $this->_errorMsg = 'The MySQL adapter "mysqli" is not available.'; return; } |
| |||
// perform a number of fatality checks, then return gracefully if (!function_exists( [[#variable52677180]])) { $this->_errorNum =1; $this->_errorMsg = [[#variable52677120]]; return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52677180]] | 'mysqli_connect' |
1 | 2 | [[#52677180]] | 'mysql_connect' |
2 | 1 | [[#52677120]] | 'The MySQL adapter "mysqli" is not available.' |
2 | 2 | [[#52677120]] | 'The MySQL adapter "mysql" is not available.' |