Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.974 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 55 | installation/models/database.php |
2 | 3 | 61 | installation/models/database.php |
| ||||
// Validate length of database table prefix. if (strlen($options->db_prefix)> 15) { $this->setError(JText::_('MYSQLPREFIXTOOLONG')); return FALSE; } |
| ||||
// Validate length of database name. if (strlen($options->db_name)> 64) { $this->setError(JText::_('MYSQLDBNAMETOOLONG')); return FALSE; } |
| |||
// Validate length of database table prefix. // Validate length of database name. if (strlen($options-> [[#variable526fbfe0]])> [[#variable526fbf80]]) { $this->setError(JText::_( [[#variable526fbf60]])); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#526fbfe0]] | db_prefix |
1 | 2 | [[#526fbfe0]] | db_name |
2 | 1 | [[#526fbf80]] | 15 |
2 | 2 | [[#526fbf80]] | 64 |
3 | 1 | [[#526fbf60]] | 'MYSQLPREFIXTOOLONG' |
3 | 2 | [[#526fbf60]] | 'MYSQLDBNAMETOOLONG' |