CloneSet1169


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.987statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15106
installation/models/database.php
25114
installation/models/database.php
Clone Instance
1
Line Count
5
Source Line
106
Source File
installation/models/database.php

                        {
                                // Attempt to delete the old database tables.
                                if (!$this->deleteDatabase($db, $options->db_name ,$options->db_prefix)) {
                                        $this->setError(JText::_('WARNDELETEDB'));
                                        return FALSE;
                                      }
                              }


Clone Instance
2
Line Count
5
Source Line
114
Source File
installation/models/database.php

                        {
                                // If the database isn't being deleted, back it up.
                                if (!$this->backupDatabase($db, $options->db_name ,$options->db_prefix)) {
                                        $this->setError(JText::_('WARNBACKINGUPDB'));
                                        return FALSE;
                                      }
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  // Attempt to delete the old database tables.
  // If the database isn't being deleted, back it up.
  if (!$this-> [[#variable23939740]]($db,$options->db_name ,$options->db_prefix)) {
    $this->setError(JText::_( [[#variable23939720]]));
    return FALSE;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#23939740]]
deleteDatabase 
12[[#23939740]]
backupDatabase 
21[[#23939720]]
'WARNDELETEDB' 
22[[#23939720]]
'WARNBACKINGUPDB'