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 | function_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 266 | administrator/components/com_admin/admin.admin.html.php |
2 | 21 | 326 | administrator/components/com_newsfeeds/admin.newsfeeds.html.php |
| ||||
function writableCell($folder, $relative=1, $text='', $visible=1) { $writeable= '<b><font color="green">' . JText::_('Writable') . '</font></b>'; $unwriteable= '<b><font color="red">' . JText::_('Unwritable') . '</font></b>'; echo '<tr>'; echo '<td class="item">'; echo $text; if ($visible) { echo $folder . '/'; } echo '</td>'; echo '<td >'; if ($relative) { echo is_writable( "../$folder") ? $writeable : $unwriteable; } else { echo is_writable( "$folder") ? $writeable : $unwriteable; } echo '</td>'; echo '</tr>'; } |
| ||||
function writableCell($folder, $relative=1, $text='', $visible=1) { $writeable= '<b><font color="green">' . JText::_('Writable') . '</font></b>'; $unwriteable= '<b><font color="red">' . JText::_('Unwritable') . '</font></b>'; echo '<tr>'; echo '<td class="item">'; echo $text; if ($visible) { echo $folder . '/'; } echo '</td>'; echo '<td >'; if ($relative) { echo is_writable( "../$folder") ? $writeable : $unwriteable; } else { echo is_writable( "$folder") ? $writeable : $unwriteable; } echo '</td>'; echo '</tr>'; } |
| |||
function writableCell($folder,$relative=1,$text='',$visible=1) { $writeable='<b><font color="green">' . JText::_('Writable') . '</font></b>'; $unwriteable='<b><font color="red">' . JText::_('Unwritable') . '</font></b>'; echo '<tr>'; echo '<td class="item">'; echo $text; if ($visible) { echo $folder . '/'; } echo '</td>'; echo '<td >'; if ($relative) { echo is_writable( "../$folder") ? $writeable : $unwriteable; } else { echo is_writable( "$folder") ? $writeable : $unwriteable; } echo '</td>'; echo '</tr>'; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |