Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 517 invoked by uid 1010); 30 Jun 2004 03:26:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 449 invoked from network); 30 Jun 2004 03:26:27 -0000 Received: from unknown (HELO mail.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 30 Jun 2004 03:26:27 -0000 Received: from ([66.80.117.254:29618]) by mail.omniti.com (ecelerity HEAD) with SMTP id D8/00-32747-2E232E04; Tue, 29 Jun 2004 23:26:29 -0400 In-Reply-To: <8a7525890406291952666cd61b@mail.gmail.com> References: <8a7525890406291952666cd61b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <9F183AD8-CA45-11D8-AC3E-000393B2B3C0@omniti.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Tue, 29 Jun 2004 23:28:57 -0400 To: Michael Luu X-Mailer: Apple Mail (2.618) Subject: Re: [PHP-DEV] Code coverage testing From: george@omniti.com (George Schlossnagle) On Jun 29, 2004, at 10:52 PM, Michael Luu wrote: > Hi all. I've started poking/hacking around in the Zend source trying > to implement code coverage statistics for php files. The end goal is > to build php with a coverage option, place it on a test server, run > test suites, then see which lines of code in which files were hit > (more importantly which ones weren't). Very similar to gcov for those > familar with gcc. Am I re-inventing the wheel? Does this already > exist? I believe xDebug supports this, and there's a worked example in my book. George