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

LCOV - code coverage report
Current view: top level - ext/standard - credits.c (source / functions) Hit Total Coverage
Test: PHP Code Coverage Lines: 63 63 100.0 %
Date: 2014-04-18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* 
       2             :    +----------------------------------------------------------------------+
       3             :    | PHP Version 5                                                        |
       4             :    +----------------------------------------------------------------------+
       5             :    | Copyright (c) 1997-2013 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$ */
      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           6 : PHPAPI void php_print_credits(int flag TSRMLS_DC) /* {{{ */
      29             : {
      30           6 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
      31           1 :                 php_print_info_htmlhead(TSRMLS_C);
      32             :         }
      33             : 
      34           6 :         if (!sapi_module.phpinfo_as_text) {
      35           3 :                 PUTS("<h1>PHP Credits</h1>\n");
      36             :         } else {
      37           3 :                 PUTS("PHP Credits\n");
      38             :         }
      39             : 
      40           6 :         if (flag & PHP_CREDITS_GROUP) {
      41             :                 /* Group */
      42             : 
      43           4 :                 php_info_print_table_start();
      44           4 :                 php_info_print_table_header(1, "PHP Group");
      45           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");
      46           4 :                 php_info_print_table_end();
      47             :         }
      48             : 
      49           6 :         if (flag & PHP_CREDITS_GENERAL) {
      50             :                 /* Design & Concept */
      51           2 :                 php_info_print_table_start();
      52           2 :                 if (!sapi_module.phpinfo_as_text) {
      53           1 :                         php_info_print_table_header(1, "Language Design &amp; Concept");
      54             :                 } else {
      55           1 :                         php_info_print_table_header(1, "Language Design & Concept");
      56             :                 }
      57           2 :                 php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger");
      58           2 :                 php_info_print_table_end();
      59             : 
      60             :                 /* PHP Language */
      61           2 :                 php_info_print_table_start();
      62           2 :                 php_info_print_table_colspan_header(2, "PHP Authors");
      63           2 :                 php_info_print_table_header(2, "Contribution", "Authors");
      64           2 :                 CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov");
      65           2 :                 CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski");
      66           2 :                 CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann, Jani Taskinen");
      67           2 :                 CREDIT_LINE("Windows Port", "Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye");
      68           2 :                 CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski");
      69           2 :                 CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon");
      70           2 :                 CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky");
      71           2 :                 php_info_print_table_end();
      72             :         }
      73             : 
      74           6 :         if (flag & PHP_CREDITS_SAPI) {
      75             :                 /* SAPI Modules */
      76             : 
      77           2 :                 php_info_print_table_start();
      78           2 :                 php_info_print_table_colspan_header(2, "SAPI Modules");
      79           2 :                 php_info_print_table_header(2, "Contribution", "Authors");
      80             : #include "credits_sapi.h"
      81           2 :                 php_info_print_table_end();
      82             :         }
      83             : 
      84           6 :         if (flag & PHP_CREDITS_MODULES) {
      85             :                 /* Modules */
      86             : 
      87           2 :                 php_info_print_table_start();
      88           2 :                 php_info_print_table_colspan_header(2, "Module Authors");
      89           2 :                 php_info_print_table_header(2, "Module", "Authors");
      90             : #include "credits_ext.h"
      91           2 :                 php_info_print_table_end();
      92             :         }
      93             : 
      94           6 :         if (flag & PHP_CREDITS_DOCS) {
      95           2 :                 php_info_print_table_start();
      96           2 :                 php_info_print_table_colspan_header(2, "PHP Documentation");
      97           2 :                 CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Georg Richter, Damien Seguy, Jakub Vrana");
      98           2 :                 CREDIT_LINE("Editor", "Philip Olson");
      99           2 :                 CREDIT_LINE("User Note Maintainers", "Daniel P. Brown, Thiago Henrique Pojda");
     100           2 :                 CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual.");
     101           2 :                 php_info_print_table_end();
     102             :         }
     103             : 
     104           6 :         if (flag & PHP_CREDITS_QA) {
     105           2 :                 php_info_print_table_start();
     106           2 :                 php_info_print_table_header(1, "PHP Quality Assurance Team");
     107           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, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena");
     108           2 :                 php_info_print_table_end();
     109             :         }
     110             : 
     111           6 :         if (flag & PHP_CREDITS_WEB) {
     112             :                 /* Websites and infrastructure */
     113             : 
     114           2 :                 php_info_print_table_start();
     115           2 :                 php_info_print_table_colspan_header(2, "Websites and Infrastructure team");
     116             :                 /* www., wiki., windows., master., and others, I guess pecl. too? */
     117           2 :                 CREDIT_LINE("PHP Websites Team", "Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen");
     118           2 :                 CREDIT_LINE("Event Maintainers", "Damien Seguy, Daniel P. Brown");
     119             :                 /* Mirroring */
     120           2 :                 CREDIT_LINE("Network Infrastructure", "Daniel P. Brown");
     121             :                 /* Windows build boxes and such things */
     122           2 :                 CREDIT_LINE("Windows Infrastructure", "Alex Schoenmaker");
     123           2 :                 php_info_print_table_end();
     124             :         }
     125             : 
     126           6 :         if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
     127           1 :                 PUTS("</div></body></html>\n");
     128             :         }
     129           6 : }
     130             : /* }}} */
     131             : 
     132             : /*
     133             :  * Local variables:
     134             :  * tab-width: 4
     135             :  * c-basic-offset: 4
     136             :  * End:
     137             :  * vim600: sw=4 ts=4 fdm=marker
     138             :  * vim<600: sw=4 ts=4
     139             :  */

Generated by: LCOV version 1.10

Generated at Fri, 18 Apr 2014 07:01:36 +0000 (6 days ago)

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