Re: Test::Builder2: running coverage fails to display key modules
James E Keenan <[email protected]>
| Newsgroups | gmane.comp.lang.perl.quality-assurance |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/12 10:54 AM, Paul Johnson wrote:
How did you generate
> your coverage report?
>
Main part of my shell script:
cd $SOURCEDIR && \
cover -delete $COVERAGEDIR && \
PERL5OPT=-MDevel::Cover=-db,$COVERAGEDIR/ \
perl Makefile.PL && make && make test && \
cover $COVERAGEDIR \
-coverage statement \
-coverage branch \
-coverage condition \
-coverage subroutine \
-ignore_re '^t\/' \
-ignore_re '^\/usr\/local\/bin' \
-ignore_re '^\/tmp' \
chmod 0755 $COVERAGEDIR/