Simpletest Coverage - modules/user/user-picture.tpl.php

1 <?php
2 // $Id: user-picture.tpl.php,v 1.5 2009/08/06 05:05:59 webchick Exp $
3
4 /**
5 * @file
6 * Default theme implementation to present an picture configured for the
7 * user's account.
8 *
9 * Available variables:
10 * - $user_picture: Image set by the user or the site's default. Will be linked
11 * depending on the viewer's permission to view the users profile page.
12 * - $account: Array of account information. Potentially unsafe. Be sure to
13 * check_plain() before use.
14 *
15 * @see template_preprocess_user_picture()
16 */
17 ?>
18 <?php if ($user_picture): ?>
19 <div class="user-picture">
20 <?php print $user_picture; ?>
21 </div>
22 <?php endif; ?>
23

Legend

Missed
lines code that were not excersized during program execution.
Covered
lines code were excersized during program execution.
Comment/non executable
Comment or non-executable line of code.
Dead
lines of code that according to xdebug could not be executed. This is counted as coverage code because in almost all cases it is code that runnable.