Re: [GSOC] SoC 09 - Extending XDebug code coverage instrumentation

[email protected] (Graham Kelly) Mon, 4 May 2009 03:33:27 -0400
Newsgroups php.gsoc
Message-ID <[email protected]>
--0016e6434612a2cebc0469112dcd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hey,

Sounds like a very interesting project! You might want to check out
pecl/optimizer. There is some basic code in there for building control flow
graphs (it needs to be improved more).

Have fun! :-)

~ Graham Kelly

On Mon, May 4, 2009 at 1:26 AM, Allister Beharry <[email protected]
> wrote:

> Hi I'm Allister, a student in Mathematics and Linguistics at the
> University of the West Indies, St. Augustine. I'm participating in SoC
> 2009 with PHP on a project to add decision and path coverage to the
> Xdebug debugger. I'll be mentored by Derick Rathans. I'm really
> psyched about this project - it's going to be a lot of fun and I'm
> going to learn a lot and it will be very beneficial to the PHP
> community
>
> My initial idea is to build an AST from the underlying PHP code and
> then run analysis on the tree to determine how many branches there
> are, then add custom opcode handlers which will fire when a particular
> branch is taken
> There are a couple of projects that have code can build an AST for PHP
>
> http://code.google.com/p/php-oracle/
> http://www.phpcompiler.org
>
> are two I've looked at. If you have any comments or suggestions on the
> project I'd love to hear them
>
> Allister
>
> --
> PHP and GSOC Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--0016e6434612a2cebc0469112dcd--