Files
archived-presentations/slides/xdebug/codecoverage2.xml
2012-09-29 10:54:03 -07:00

17 lines
663 B
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>What Code Do I Use</title>
<subtitle>Code Coverage</subtitle>
<blurb>Functions for obtaining coverage information:</blurb>
<example>xdebug_start_code_coverage();
xdebug_get_code_coverage();
xdebug_stop_code_coverage();</example>
<blurb>Options to xdebug_start_code_coverage(), both only work for files parsed *from* this moment:</blurb>
<list>
<bullet>XDEBUG_CC_UNUSED: Enables scanning of code to figure out which line has executable code.</bullet>
<bullet>XDEBUG_CC_DEAD_CODE: Enables branch analyzation to figure out whether code can be executed.</bullet>
</list>
</slide>