ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks.
I'm trying to use MDevel::Cover. I have a few questions about it.
I succeeded to create a coverage report but it contains coverage of used modules like Data or Getopt.
How can I set the exactly dependences I want the coverages to contain?
For example, I ran my code and got coverage that contains main.pl, sub1.pm, sub2.pm, Data.pm and Getopt.pm.
I want to see only main.pl, sub1.pm, sub2.pm. Is it possible to achieve it?
Also, is it possible to somehow "merge" two coverage results (I'm not sure myself what it means but maybe there is a somewhat concept)?
Thank you all
Edit: I run my script with coverage: (with GetOpt options)
I'm trying to use MDevel::Cover. I have a few questions about it.
I succeeded to create a coverage report but it contains coverage of used modules like Data or Getopt.
How can I set the exactly dependences I want the coverages to contain?
For example, I ran my code and got coverage that contains main.pl, sub1.pm, sub2.pm, Data.pm and Getopt.pm.
I want to see only main.pl, sub1.pm, sub2.pm. Is it possible to achieve it?
Also, is it possible to somehow "merge" two coverage results (I'm not sure myself what it means but maybe there is a somewhat concept)?
Thank you all
Edit: I run my script with coverage: (with GetOpt options)
/usr/5.26.1/bin/perl -MDevel::Cover main.pl --list 1,2 --values 58
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Coverage report
by rjt (Curate) on Oct 03, 2019 at 13:25 UTC | |
by ovedpo15 (Pilgrim) on Oct 03, 2019 at 19:44 UTC | |
by jcb (Parson) on Oct 03, 2019 at 22:15 UTC | |
Re: Coverage report
by pryrt (Abbot) on Oct 03, 2019 at 13:18 UTC |
Back to
Seekers of Perl Wisdom