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

From: Date: Mon, 04 May 2009 07:33:27 +0000
Subject: Re: [GSOC] SoC 09 - Extending XDebug code coverage instrumentation
References: 1  Groups: php.gsoc 
Request: Send a blank email to php-gsoc+get-50@lists.php.net to get a copy of this message
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 <allister.beharry@gmail.com > 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 > >

« previous php.gsoc (#50) next »