Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Coverage reportby rjt (Curate) |
on Oct 03, 2019 at 13:25 UTC ( [id://11107008]=note: print w/replies, xml ) | Need Help?? |
I assume you mean Devel::Cover. If you haven't already, that documentation is really good, and covers some of your questions. If you're getting unwanted files in your output, you can use -ignore or +ignore with a regexp. But you normally shouldn't be seeing those included modules. What does your directory structure look like, and how exactly are you invoking cover? I use Devel::Cover in my distributions. In that case, I simply run cover -test in the root of my distribution, which runs make test and reports the coverage, and won't report coverage of other external modules. Here's what the output looks like for me:
I am not exactly sure what you mean by "merging", but if you can get all of your source code into the same distribution, you can have one report cover the whole thing. If that is not desirable or feasible, then I'm not sure what to suggest, aside from a simple concatenation or pagination of the results.
use strict; use warnings; omitted for brevity.
In Section
Seekers of Perl Wisdom
|
|