<p>The following is some informational statistics on bug fixing and reporting. Developers are considered to have fixed a bug if the bug is marked <strong>Closed</strong> and is assigned to the developer.</p> <table id="dev-stats"> <tr> <th>All Time</th> <th>Last 30 Days</th> <th>Bug Reporting</th> </tr> <tr> <td valign="top"> <?php require_once 'bugs/pear-bugs.php'; $bugs = new PEAR_Bugs(); $develstats = $bugs->allDevelStats(); $lastmonth = $bugs->lastMonthStats(); $reporters = $bugs->reporterStats(); echo '<table class="dev-stats-sub">'; ?> <tr> <th class="bug_header">Closed Bugs</th> <th class="bug_header">Developer</th> </tr> <?php $handle = isset($auth_user->handle) ? $auth_user->handle : ''; foreach ($develstats as $stat) { $style = $stat['handle'] == $handle ? ' style="background-color: yellow;"' : ''; echo " <tr>\n"; echo ' <td class="bug_bg0"' . $style . '>' . $stat['c'] . "</td>\n"; echo ' <td class="bug_bg0"' . $style . '><a href="/user/' . $stat['handle'] . '">' . $stat['handle'] . "</a></td>\n";