|Just another Perl shrine|
Devel::Cover tutorial wantedby qq (Hermit)
|on Apr 05, 2005 at 11:23 UTC||Need Help??|
qq has asked for the wisdom of the Perl Monks concerning the following question:
I'm having a hard time understanding what to do with it, however.
In more detail: I have a directory structure like:
The Foo/Bar levels are essentially empty, which is why the t/ dir sits at the bottom, rather than at the top.
I run it like:
Question 1: Should I run the test.pl, webapp.pl, or embed it in the mod_perl handler?
However that gives me very little result - just those for the script itself, wheras runnig webapp.pl gives a much more complete picutre, including coverage for all the included modules, etc.
Or, I could run it on individual *.t files and merge the coverage databases ...
Question 2: How do I interpret the results?
Sorry for the the somewhat vague questions. This looks like a wonderful tool, but I'm feeling my way around in the dark and I don't even know what I'm looking for. Any general advice on its use is appreciated.