DevShed continues their look at XDebug with the fourth article in their series. This time they look at using the tool to detect code coverage.
The XDebug extension comes equipped with many other functions that allow you to perform all sorts of debugging tasks. So, provided that you’re interested in learning a bit more, in this fourth article I’ll be explaining how to use the complementary "xdebug_start_code_coverage()" and "xdebug_get_code_coverage()" functions. They can help you keep track of which lines are executed by a specified PHP program.
They include a brief example of how the two functions are used and one a bit more complex wrapped up in a class.