Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 7 | 3 | 0.986 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 232 | installation/models/setup.php |
2 | 5 | 239 | installation/models/setup.php |
3 | 5 | 246 | installation/models/setup.php |
4 | 5 | 253 | installation/models/setup.php |
5 | 5 | 260 | installation/models/setup.php |
6 | 5 | 267 | installation/models/setup.php |
7 | 5 | 274 | installation/models/setup.php |
| ||||
// Check for safe mode. $setting= new stdClass; $setting->label = JText::_('Safe Mode'); $setting->state = (bool) ini_get('safe_mode'); $setting->recommended = FALSE; $settings[]= $setting; |
| ||||
// Check for display errors. $setting= new stdClass; $setting->label = JText::_('Display Errors'); $setting->state = (bool) ini_get('display_errors'); $setting->recommended = FALSE; $settings[]= $setting; |
| ||||
// Check for file uploads. $setting= new stdClass; $setting->label = JText::_('File Uploads'); $setting->state = (bool) ini_get('file_uploads'); $setting->recommended = TRUE; $settings[]= $setting; |
| ||||
// Check for magic quotes. $setting= new stdClass; $setting->label = JText::_('Magic Quotes Runtime'); $setting->state = (bool) ini_get('magic_quotes_runtime'); $setting->recommended = FALSE; $settings[]= $setting; |
| ||||
// Check for register globals. $setting= new stdClass; $setting->label = JText::_('Register Globals'); $setting->state = (bool) ini_get('register_globals'); $setting->recommended = FALSE; $settings[]= $setting; |
| ||||
// Check for output buffering. $setting= new stdClass; $setting->label = JText::_('Output Buffering'); $setting->state = (bool) ini_get('output_buffering'); $setting->recommended = FALSE; $settings[]= $setting; |
| ||||
// Check for session auto-start. $setting= new stdClass; $setting->label = JText::_('Session auto start'); $setting->state = (bool) ini_get('session.auto_start'); $setting->recommended = FALSE; $settings[]= $setting; |
| |||
// Check for session auto-start. // Check for output buffering. // Check for register globals. // Check for magic quotes. // Check for file uploads. // Check for display errors. // Check for safe mode. $setting=new stdClass; $setting->label =JText::_( [[#variable4ddda660]]); $setting->state = (bool) ini_get( [[#variable4ddda6c0]]); $setting->recommended = [[#variable4ddda6e0]]; $settings[]=$setting; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ddda660]] | 'Session auto start' |
1 | 2 | [[#4ddda660]] | 'Output Buffering' |
1 | 3 | [[#4ddda660]] | 'Register Globals' |
1 | 4 | [[#4ddda660]] | 'Magic Quotes Runtime' |
1 | 5 | [[#4ddda660]] | 'File Uploads' |
1 | 6 | [[#4ddda660]] | 'Display Errors' |
1 | 7 | [[#4ddda660]] | 'Safe Mode' |
2 | 1 | [[#4ddda6c0]] | 'session.auto_start' |
2 | 2 | [[#4ddda6c0]] | 'output_buffering' |
2 | 3 | [[#4ddda6c0]] | 'register_globals' |
2 | 4 | [[#4ddda6c0]] | 'magic_quotes_runtime' |
2 | 5 | [[#4ddda6c0]] | 'file_uploads' |
2 | 6 | [[#4ddda6c0]] | 'display_errors' |
2 | 7 | [[#4ddda6c0]] | 'safe_mode' |
3 | 1 | [[#4ddda6e0]] | FALSE |
3 | 2 | [[#4ddda6e0]] | FALSE |
3 | 3 | [[#4ddda6e0]] | FALSE |
3 | 4 | [[#4ddda6e0]] | FALSE |
3 | 5 | [[#4ddda6e0]] | TRUE |
3 | 6 | [[#4ddda6e0]] | FALSE |
3 | 7 | [[#4ddda6e0]] | FALSE |