gsoc:2009:xdebug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gsoc:2009:xdebug [2009/05/20 07:26] allisterbgsoc:2009:xdebug [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 11: Line 11:
 Extend the code coverage instrumentation in Xdebug from statement coverage to include decision and path coverage. Xdebug will be able to report for a given block of code the number of unique branches, how many branches were executed during execution of the block, how many linearly independent paths exist through the code block, and which of these code paths were executed. A data structure representing which paths and branches were taken will be available to code coverage tools . Extend the code coverage instrumentation in Xdebug from statement coverage to include decision and path coverage. Xdebug will be able to report for a given block of code the number of unique branches, how many branches were executed during execution of the block, how many linearly independent paths exist through the code block, and which of these code paths were executed. A data structure representing which paths and branches were taken will be available to code coverage tools .
  
-==== Initial Timeline ====+==== Timeline ====
 May 23rd - June 13th: Study closely PHP runtime, opcodes and extending PHP May 23rd - June 13th: Study closely PHP runtime, opcodes and extending PHP
  
-June 13th - June 27th: Implement branch coverage statistics (counting branches executed / total branches)+June 13th - July 12th: Implement branch coverage statistics (counting branches executed / total branches) 
  
-June 27th - July 18th: Implement path coverage statistics (counting paths executed / total paths)+June 13th - July 19th: Implement branch coverage data structure 
  
-July 18th - August 1st Implement branch coverage data structure+July 20th - August 8th Implement path coverage statistics (counting paths executed / total paths)
  
-August 1st - 24th Implement path coverage data structure+August 9th - 24th Implement path coverage data structure
  
-This will be refined as  I go deeper into the project 
  
 ==== Resources ==== ==== Resources ====
Line 28: Line 27:
 http://www.zapt.info/opcodes.html list of opcodes with annotation http://www.zapt.info/opcodes.html list of opcodes with annotation
 http://www.phpcompiler.org/ a PHP compiler - profides a framework for manipulating ASTs http://www.phpcompiler.org/ a PHP compiler - profides a framework for manipulating ASTs
 +
 +===== Research =====
 +
gsoc/2009/xdebug.1242804384.txt.gz · Last modified: 2017/09/22 13:28 (external edit)