| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 3 | 4 | 0.972 | foreach_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 14 | modules/mod_latestnews/tmpl/default.php |
| 2 | 6 | 14 | modules/mod_mostread/tmpl/default.php |
| 3 | 6 | 7 | templates/beez/html/mod_latestnews/default.php |
| ||||
foreach ($list as $item): ;
?>
<li class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
<a href="<?php echo $item->link; ?>" class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
<?php echo $item->text; ?></a>
</li>
<?php
endforeach
;
|
| ||||
foreach ($list as $item): ;
?>
<li class="mostread<?php echo $params->get('moduleclass_sfx'); ?>">
<a href="<?php echo $item->link; ?>" class="mostread<?php echo $params->get('moduleclass_sfx'); ?>">
<?php echo $item->text; ?></a>
</li>
<?php
endforeach
;
|
| ||||
foreach ($list as $item): ;
?>
<li class="latestnews<?php echo $params->get('pageclass_sfx'); ?>">
<a href="<?php echo $item->link; ?>" class="latestnews<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo $item->text; ?></a>
</li>
<?php
endforeach
;
|
| |||
foreach ($list as $item): ; ?> [[#variable21d7ab00]]<?php echo $params->get( [[#variable21d7aa60]]); ?>"> <a href="<?php echo $item->link; ?> [[#variable21d7a960]]<?php echo $params->get( [[#variable21d7aa60]]); ?>"> <?php echo $item->text; ?> [[#variable21d7aa00]]<?php endforeach ; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#21d7ab00]] | <li class="latestnews |
| 1 | 2 | [[#21d7ab00]] | <li class="mostread |
| 1 | 3 | [[#21d7ab00]] | <li class="latestnews |
| 2 | 1 | [[#21d7aa60]] | 'moduleclass_sfx' |
| 2 | 2 | [[#21d7aa60]] | 'moduleclass_sfx' |
| 2 | 3 | [[#21d7aa60]] | 'pageclass_sfx' |
| 3 | 1 | [[#21d7a960]] | " class="latestnews |
| 3 | 2 | [[#21d7a960]] | " class="mostread |
| 3 | 3 | [[#21d7a960]] | " class="latestnews |
| 4 | 1 | [[#21d7aa00]] | </a> </li> |
| 4 | 2 | [[#21d7aa00]] | </a> </li> |
| 4 | 3 | [[#21d7aa00]] | </a> </li> |