Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I've been wondering whether CPANTS could add coverage as one of its metrics. It's fraught with difficulty of course :)
  • If you follow the instructions here [cpan.org] you'll see that you just have to set the following %ENV var:

    HARNESS_PERL_SWITCHES=-MDevel::Cover

    And then, whenever make test is run, so is coverage... ;)

    • I know to set the environment variable, but I don't believe there's an option to abandon the install if the coverage is below a certain point. I'd really like that (particularly if the module's a dependency in a chain of modules and I want to look at things closer).