Welcome to the Monastery | |
PerlMonks |
How to get meaningful totals in a Devel::Cover coverage report for a subset of code?by Scags9876 (Novice) |
on Aug 24, 2011 at 23:50 UTC ( [id://922228]=perlquestion: print w/replies, xml ) | Need Help?? |
Scags9876 has asked for the wisdom of the Perl Monks concerning the following question: I've run my suite of unit tests with Devel::Cover turned on. I've created a coverage report. There are over a hundred modules in the report. The totals row lists the following:
Now, I want to see what the coverage is for the 3 modules named Foo.pm (in MVC architecture). I run:
The coverage report looks like this:
The total row is the total for the entire codebase. I would like the total row to be the percentage of code lines covered in the 3 modules selected with the regex. Any ideas on how to accomplish this? Can I provide any more information? I am using Devel::Cover 0.73
Back to
Seekers of Perl Wisdom
|
|