CloneSet1539


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.974if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1355
installation/models/database.php
2361
installation/models/database.php
Clone Instance
1
Line Count
3
Source Line
55
Source File
installation/models/database.php

                // Validate length of database table prefix.
                if (strlen($options->db_prefix)>  15) {
                        $this->setError(JText::_('MYSQLPREFIXTOOLONG'));
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
61
Source File
installation/models/database.php

                // Validate length of database name.
                if (strlen($options->db_name)>  64) {
                        $this->setError(JText::_('MYSQLDBNAMETOOLONG'));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Validate length of database table prefix.
// Validate length of database name.
if (strlen($options-> [[#variable526fbfe0]])> [[#variable526fbf80]]) {
  $this->setError(JText::_( [[#variable526fbf60]]));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#526fbfe0]]
db_prefix 
12[[#526fbfe0]]
db_name 
21[[#526fbf80]]
15 
22[[#526fbf80]]
64 
31[[#526fbf60]]
'MYSQLPREFIXTOOLONG' 
32[[#526fbf60]]
'MYSQLDBNAMETOOLONG'