devel-cover Questions

2

I noticed, that when I run my program with perl -MDevel::Cover=-silent,-nogcov foo.pl to collect coverage information for foo.pl, I am getting massive slowdowns from parts of my program that fork a...
Ligan asked 7/1, 2020 at 7:25

1

Solved

(I think I've seen the answer to this, but I can't find it again. The closest I have come across is this question). I am hacking on prt and am trying to get full coverage data for my changes. Some...
Scatology asked 2/7, 2019 at 16:25

2

When I'm running Devel::Cover with ModPerl::Registry, I get no coverage info except for BEGIN blocks. When I'm running the same script with Devel::Cover from command line or as a CGI, everything wo...

1

Solved

While using Devel::Cover in a test code which tests CodeA, does Devel::Cover have an option of switching the coverage off. Is there a way to switch the coverage module on or off as per user? Test...
Flatten asked 25/6, 2014 at 23:42

2

Solved

When running ./Build testcover to test the code coverage, is there a way I can pass in some kind of option for using my own stylesheet, maybe as an override? I have looked at the Devel::Cover CPAN...
Dram asked 24/2, 2014 at 18:16

1

I have the following logic: sub test { my ($x, $y) = @_; die unless defined $x || defined $y; # uncoverable condition false return $x // $y; } test( 1, 2 ); test( 1, undef ); test( undef, 2 )...
Amabil asked 18/10, 2013 at 4:5

1

Solved

Unfortunately, Devel::Cover does not yet work with threads. It doesn't work with prefork either. Being use'd in startup.pl, Devel::Cover issues Not a CODE reference. END failed--call queue abort...
Profant asked 16/2, 2010 at 23:12
1

© 2022 - 2024 — McMap. All rights reserved.