I am using only DEVEL_COVER_OPTIONS and calling import during the execution of a perl script.
I would like to collect only statement and subroutine and it is correctly doing that.
But in the Cover DB I can see n/a for collected. Hence when report is generated from that Cover DB without specific options, it shows n/a for all the criteria. How can I fix this ?
Usage:
my $args = "-coverage,subroutine,statement";
require Devel::Cover;
Devel::Cover->import($args);
But in cover.14, I see the following.
"collected":["branch","condition","path","pod","statement","subroutine","time"]}}}
I am using only DEVEL_COVER_OPTIONS and calling import during the execution of a perl script. I would like to collect only statement and subroutine and it is correctly doing that. But in the Cover DB I can see n/a for collected. Hence when report is generated from that Cover DB without specific options, it shows n/a for all the criteria. How can I fix this ? Usage: my $args = "-coverage,subroutine,statement"; require Devel::Cover; Devel::Cover->import($args);
But in cover.14, I see the following. "collected":["branch","condition","path","pod","statement","subroutine","time"]}}}