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/

Reply via email to