PHP  
 PHP: Test and Code Coverage Analysis
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

LTP GCOV extension - code coverage report
Current view: directory - standard - credits.c
Test: PHP Code Coverage
Date: 2009-11-19 Instrumented lines: 60
Code covered: 100.0 % Executed lines: 60
Legend: not executed executed

       1                 : /* 
       2                 :    +----------------------------------------------------------------------+
       3                 :    | PHP Version 5                                                        |
       4                 :    +----------------------------------------------------------------------+
       5                 :    | Copyright (c) 1997-2009 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 272374 2008-12-31 11:17:49Z sebastian $ */
      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               6 : {
      32               6 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
      33               1 :                 php_print_info_htmlhead(TSRMLS_C);
      34                 :         }
      35                 : 
      36               6 :         if (!sapi_module.phpinfo_as_text) {
      37               3 :                 PUTS("<h1>PHP Credits</h1>\n");
      38                 :         } else {
      39               3 :                 PUTS("PHP Credits\n");
      40                 :         }
      41                 : 
      42               6 :         if (flag & PHP_CREDITS_GROUP) {
      43                 :                 /* Group */
      44                 : 
      45               4 :                 php_info_print_table_start();
      46               4 :                 php_info_print_table_header(1, "PHP Group");
      47               4 :                 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               4 :                 php_info_print_table_end();
      49                 :         }
      50                 : 
      51               6 :         if (flag & PHP_CREDITS_GENERAL) {
      52                 :                 /* Design & Concept */
      53               2 :                 php_info_print_table_start();
      54               2 :                 if (!sapi_module.phpinfo_as_text) {
      55               1 :                         php_info_print_table_header(1, "Language Design &amp; Concept");
      56                 :                 } else {
      57               1 :                         php_info_print_table_header(1, "Language Design & Concept");
      58                 :                 }
      59               2 :                 php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski");
      60               2 :                 php_info_print_table_end();
      61                 : 
      62                 :                 /* PHP Language */
      63               2 :                 php_info_print_table_start();
      64               2 :                 php_info_print_table_colspan_header(2, "PHP 5 Authors");
      65               2 :                 php_info_print_table_header(2, "Contribution", "Authors");
      66               2 :                 CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski");
      67               2 :                 CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski");
      68               2 :                 CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann, Jani Taskinen");
      69               2 :                 CREDIT_LINE("Win32 Port", "Shane Caraveo, Zeev Suraski, Wez Furlong");
      70               2 :                 CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski");
      71               2 :                 CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon");
      72               2 :                 CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky");
      73               2 :                 php_info_print_table_end();
      74                 :         }
      75                 : 
      76               6 :         if (flag & PHP_CREDITS_SAPI) {
      77                 :                 /* SAPI Modules */
      78                 : 
      79               2 :                 php_info_print_table_start();
      80               2 :                 php_info_print_table_colspan_header(2, "SAPI Modules");
      81               2 :                 php_info_print_table_header(2, "Contribution", "Authors");
      82                 : #include "credits_sapi.h"
      83               2 :                 php_info_print_table_end();
      84                 :         }
      85                 : 
      86               6 :         if (flag & PHP_CREDITS_MODULES) {
      87                 :                 /* Modules */
      88                 : 
      89               2 :                 php_info_print_table_start();
      90               2 :                 php_info_print_table_colspan_header(2, "Module Authors");
      91               2 :                 php_info_print_table_header(2, "Module", "Authors");
      92                 : #include "credits_ext.h"
      93               2 :                 php_info_print_table_end();
      94                 :         }
      95                 : 
      96               6 :         if (flag & PHP_CREDITS_DOCS) {
      97               2 :                 php_info_print_table_start();
      98               2 :                 php_info_print_table_colspan_header(2, "PHP Documentation");
      99               2 :                 CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Georg Richter, Damien Seguy, Jakub Vrana");
     100               2 :                 CREDIT_LINE("Editor", "Philip Olson");
     101               2 :                 CREDIT_LINE("User Note Maintainers", "Friedhelm Betz, Etienne Kneuss, Nuno Lopes, Hannes Magnusson, Felipe Pena, Maciek Sokolewicz");
     102               2 :                 CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual.");
     103               2 :                 php_info_print_table_end();
     104                 :         }
     105                 : 
     106               6 :         if (flag & PHP_CREDITS_QA) {
     107               2 :                 php_info_print_table_start();
     108               2 :                 php_info_print_table_header(1, "PHP Quality Assurance Team");
     109               2 :                 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");
     110               2 :                 php_info_print_table_end();
     111                 :         }
     112                 : 
     113               6 :         if (flag & PHP_CREDITS_WEB) {
     114                 :                 /* Website Team */
     115               2 :                 php_info_print_table_start();
     116               2 :                 php_info_print_table_header(1, "PHP Website Team");
     117               2 :                 php_info_print_table_row(1, "Rasmus Lerdorf, Hannes Magnusson, Philip Olson");
     118               2 :                 php_info_print_table_end();
     119                 :         }
     120                 : 
     121               6 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
     122               1 :                 PUTS("</div></body></html>\n");
     123                 :         }
     124               6 : }
     125                 : /* }}} */
     126                 : 
     127                 : /*
     128                 :  * Local variables:
     129                 :  * tab-width: 4
     130                 :  * c-basic-offset: 4
     131                 :  * End:
     132                 :  * vim600: sw=4 ts=4 fdm=marker
     133                 :  * vim<600: sw=4 ts=4
     134                 :  */

Generated by: LTP GCOV extension version 1.5

Generated at Thu, 19 Nov 2009 08:20:23 +0000 (5 days ago)

Copyright © 2005-2009 The PHP Group
All rights reserved.