Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 0 | 1.000 | toplevel_statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 15 | administrator/modules/mod_feed/mod_feed.php |
2 | 20 | 16 | modules/mod_feed/mod_feed.php |
| ||||
$rssurl= $params->get('rssurl', ''); $rssrtl= $params->get('rssrtl', 0); //check if cache diretory is writable as cache files will be created for the feed $cacheDir= JPATH_BASE . DS . 'cache'; if (!is_writable($cacheDir)) { echo '<div>'; echo JText::_('Please make cache directory writable.'); echo '</div>'; return; } //check if feed URL has been set if (empty( $rssurl)) { echo '<div>'; echo JText::_('No feed URL specified.'); echo '</div>'; return; } |
| ||||
$rssurl= $params->get('rssurl', ''); $rssrtl= $params->get('rssrtl', 0); //check if cache diretory is writable as cache files will be created for the feed $cacheDir= JPATH_BASE . DS . 'cache'; if (!is_writable($cacheDir)) { echo '<div>'; echo JText::_('Please make cache directory writable.'); echo '</div>'; return; } //check if feed URL has been set if (empty( $rssurl)) { echo '<div>'; echo JText::_('No feed URL specified.'); echo '</div>'; return; } |
| |||
$rssurl=$params->get('rssurl',''); $rssrtl=$params->get('rssrtl',0); //check if cache diretory is writable as cache files will be created for the feed $cacheDir=JPATH_BASE . DS . 'cache'; if (!is_writable($cacheDir)) { echo '<div>'; echo JText::_('Please make cache directory writable.'); echo '</div>'; return; } //check if feed URL has been set if (empty($rssurl)) { echo '<div>'; echo JText::_('No feed URL specified.'); echo '</div>'; return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |