Search code examples
phpphpunitcode-coverage

Is there a code coverage tool that works with manual testing?


In php, is there a tool that can generate a code coverage report without using automated unit test cases ?

(basically not using phpunit or similar unit testing frameworks which do a good job generating the report but require unit testcases to be written in php!).

Exactly what I am looking for, is a tool that would generate me a code coverage report based on manual testing performed by a tester.


Solution

  • Sheldon,

    Have you heard of Xdebug? I'm using this and it is fantasic! I'm using Ubuntu 8.04 and it is available via the package repository (apt-get).

    It is free and it has basic code coverage analysis functionalities:

    http://xdebug.org/docs/code_coverage

    For your information, profiling is also available:

    xdebug.org/docs/profiler

    (This should be a hyperlink!!! It only allows me to post one hyperlink per answer because I'm a new user... sigh...)

    Hope this helps!

    Kenji