cvs: php-gcov-web /www compile_results.php
| From: | Nuno Lopes | Date: | Sat, 24 Nov 2007 18:01:15 +0000 |
| Subject: | cvs: php-gcov-web /www compile_results.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-573@lists.php.net to get a copy of this message | ||
nlopess Sat Nov 24 18:01:15 2007 UTC
Modified files:
/php-gcov-web/www compile_results.php
Log:
fix error stats
http://cvs.php.net/viewvc.cgi/php-gcov-web/www/compile_results.php?r1=1.5&r2=1.6&diff_format=u
Index: php-gcov-web/www/compile_results.php
diff -u php-gcov-web/www/compile_results.php:1.5 php-gcov-web/www/compile_results.php:1.6
--- php-gcov-web/www/compile_results.php:1.5 Sun May 27 14:58:37 2007
+++ php-gcov-web/www/compile_results.php Sat Nov 24 18:01:15 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: compile_results.php,v 1.5 2007/05/27 14:58:37 nlopess Exp $ */
+/* $Id: compile_results.php,v 1.6 2007/11/24 18:01:15 nlopess Exp $ */
if (!defined('IN_GCOV_CODE')) exit;
@@ -54,11 +54,12 @@
foreach ($fileentry as $entry) {
$function = htmlspecialchars($entry[0]);
$line = htmlspecialchars($entry[1]);
- $type = make_error_highlight($entry[2]);
+ $type = $entry[2];
$msg = htmlspecialchars($entry[3]);
$lxrlink = make_lxr_link($path, $line);
$cvslink = make_cvs_link($path, $line);
$funclink = make_lxr_func_link($function);
+ $pretty_type = make_error_highlight($type);
++$stats[$type];
@@ -66,7 +67,7 @@
<tr>
<td>$cvslink $lxrlink</td>
<td>$funclink</td>
- <td>$type: $msg</td>
+ <td>$pretty_type: $msg</td>
</tr>
HTML;