Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.975 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 112 | installation/controllers/setup.php |
2 | 9 | 210 | installation/controllers/setup.php |
| ||||
// Attempt to initialize the database. $return= $database->initialize($vars); // Ensure a language was set. if (!$return) { $this->setMessage($database->getError(), 'notice'); $this->setRedirect('index.php?view=database'); } else { $this->setRedirect('index.php?view=filesystem'); } |
| ||||
// Attempt to setup the configuration. $return= $configuration->setup($vars); // Ensure a language was set. if (!$return) { $this->setMessage($configuration->getError(), 'notice'); $this->setRedirect('index.php?view=site'); } else { $this->setRedirect('index.php?view=complete'); } |
| |||
// Attempt to initialize the database. // Attempt to setup the configuration. $return= [[#variable230a7b80]]-> [[#variable230a7ac0]]($vars); // Ensure a language was set. if (!$return) { $this->setMessage( [[#variable230a7b80]]->getError(),'notice'); $this->setRedirect( [[#variable230a7a80]]); } else { $this->setRedirect( [[#variable230a7a40]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#230a7b80]] | $database |
1 | 2 | [[#230a7b80]] | $configuration |
2 | 1 | [[#230a7ac0]] | initialize |
2 | 2 | [[#230a7ac0]] | setup |
3 | 1 | [[#230a7a80]] | 'index.php?view=database' |
3 | 2 | [[#230a7a80]] | 'index.php?view=site' |
4 | 1 | [[#230a7a40]] | 'index.php?view=filesystem' |
4 | 2 | [[#230a7a40]] | 'index.php?view=complete' |