LTP GCOV extension - code coverage report
Current view: directory - ext/standard - credits.c
Test: PHP Code Coverage
Date: 2007-04-10 Instrumented lines: 59
Code covered: 0.0 % Executed lines: 0
Legend: not executed executed

       1                 : /* 
       2                 :    +----------------------------------------------------------------------+
       3                 :    | PHP Version 5                                                        |
       4                 :    +----------------------------------------------------------------------+
       5                 :    | Copyright (c) 1997-2007 The PHP Group                                |
       6                 :    +----------------------------------------------------------------------+
       7                 :    | This source file is subject to version 3.01 of the PHP license,      |
       8                 :    | that is bundled with this package in the file LICENSE, and is        |
       9                 :    | available through the world-wide-web at the following url:           |
      10                 :    | http://www.php.net/license/3_01.txt                                  |
      11                 :    | If you did not receive a copy of the PHP license and are unable to   |
      12                 :    | obtain it through the world-wide-web, please send a note to          |
      13                 :    | license@php.net so we can mail you a copy immediately.               |
      14                 :    +----------------------------------------------------------------------+
      15                 :    | Authors: Rasmus Lerdorf <rasmus@php.net>                             |
      16                 :    |          Zeev Suraski <zeev@zend.com>                                |
      17                 :    +----------------------------------------------------------------------+
      18                 : */
      19                 : 
      20                 : /* $Id: credits.c,v 1.36.2.4.2.3 2007/01/01 09:36:08 sebastian Exp $ */
      21                 : 
      22                 : #include "php.h"
      23                 : #include "info.h"
      24                 : #include "SAPI.h"
      25                 : 
      26                 : #define CREDIT_LINE(module, authors) php_info_print_table_row(2, module, authors)
      27                 : 
      28                 : /* {{{ php_print_credits
      29                 :  */
      30                 : PHPAPI void php_print_credits(int flag TSRMLS_DC)
      31               0 : {
      32               0 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
      33               0 :                 php_print_info_htmlhead(TSRMLS_C);
      34                 :         }
      35                 : 
      36               0 :         if (!sapi_module.phpinfo_as_text) {
      37               0 :                 PUTS("<h1>PHP Credits</h1>\n");
      38                 :         } else {
      39               0 :                 PUTS("PHP Credits\n");
      40                 :         }
      41                 : 
      42               0 :         if (flag & PHP_CREDITS_GROUP) {
      43                 :                 /* Group */
      44                 : 
      45               0 :                 php_info_print_table_start();
      46               0 :                 php_info_print_table_header(1, "PHP Group");
      47               0 :                 php_info_print_table_row(1, "Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski");
      48               0 :                 php_info_print_table_end();
      49                 :         }
      50                 : 
      51               0 :         if (flag & PHP_CREDITS_GENERAL) {
      52                 :                 /* Design & Concept */
      53               0 :                 php_info_print_table_start();
      54               0 :                 if (!sapi_module.phpinfo_as_text) {
      55               0 :                         php_info_print_table_header(1, "Language Design &amp; Concept");
      56                 :                 } else {
      57               0 :                         php_info_print_table_header(1, "Language Design & Concept");
      58                 :                 }
      59               0 :                 php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski");
      60               0 :                 php_info_print_table_end();
      61                 : 
      62                 :                 /* PHP Language */
      63               0 :                 php_info_print_table_start();
      64               0 :                 php_info_print_table_colspan_header(2, "PHP 5 Authors");
      65               0 :                 php_info_print_table_header(2, "Contribution", "Authors");
      66               0 :                 CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski");
      67               0 :                 CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski");
      68               0 :                 CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann");
      69               0 :                 CREDIT_LINE("Win32 Port", "Shane Caraveo, Zeev Suraski, Wez Furlong");
      70               0 :                 CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski");
      71               0 :                 CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon");
      72               0 :                 CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky");
      73               0 :                 php_info_print_table_end();
      74                 :         }
      75                 : 
      76               0 :         if (flag & PHP_CREDITS_SAPI) {
      77                 :                 /* SAPI Modules */
      78                 : 
      79               0 :                 php_info_print_table_start();
      80               0 :                 php_info_print_table_colspan_header(2, "SAPI Modules");
      81               0 :                 php_info_print_table_header(2, "Contribution", "Authors");
      82                 : #include "credits_sapi.h"
      83               0 :                 php_info_print_table_end();
      84                 :         }
      85                 : 
      86               0 :         if (flag & PHP_CREDITS_MODULES) {
      87                 :                 /* Modules */
      88                 : 
      89               0 :                 php_info_print_table_start();
      90               0 :                 php_info_print_table_colspan_header(2, "Module Authors");
      91               0 :                 php_info_print_table_header(2, "Module", "Authors");
      92                 : #include "credits_ext.h"
      93               0 :                 php_info_print_table_end();
      94                 :         }
      95                 : 
      96               0 :         if (flag & PHP_CREDITS_DOCS) {
      97               0 :                 php_info_print_table_start();
      98               0 :                 php_info_print_table_colspan_header(2, "PHP Documentation");
      99               0 :                 CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana");
     100               0 :                 CREDIT_LINE("User Note Maintainers", "Mehdi Achour, Friedhelm Betz, Vincent Gevers, Aidan Lister, Nuno Lopes, Tom Sommer");
     101               0 :                 CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual.");
     102               0 :                 php_info_print_table_end();
     103                 :         }
     104                 : 
     105               0 :         if (flag & PHP_CREDITS_QA) {
     106               0 :                 php_info_print_table_start();
     107               0 :                 php_info_print_table_header(1, "PHP Quality Assurance Team");
     108               0 :                 php_info_print_table_row(1, "Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Jani Taskinen");
     109               0 :                 php_info_print_table_end();
     110                 :         }
     111                 : 
     112               0 :         if (flag & PHP_CREDITS_WEB) {
     113                 :                 /* Website Team */
     114               0 :                 php_info_print_table_start();
     115               0 :                 php_info_print_table_header(1, "PHP Website Team");
     116               0 :                 php_info_print_table_row(1, "Hannes Magnusson, Colin Viebrock, Jim Winstead");
     117               0 :                 php_info_print_table_end();
     118                 :         }
     119                 : 
     120               0 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
     121               0 :                 PUTS("</div></body></html>\n");
     122                 :         }
     123               0 : }
     124                 : /* }}} */
     125                 : 
     126                 : /*
     127                 :  * Local variables:
     128                 :  * tab-width: 4
     129                 :  * c-basic-offset: 4
     130                 :  * End:
     131                 :  * vim600: sw=4 ts=4 fdm=marker
     132                 :  * vim<600: sw=4 ts=4
     133                 :  */

Generated by: LTP GCOV extension version 1.5