Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to run Devel::Cover if we don't have a makefile?

by tobyink (Canon)
on Apr 27, 2021 at 13:14 UTC ( #11131759=note: print w/replies, xml ) Need Help??


in reply to How to run Devel::Cover if we don't have a makefile?

I tend to use what you've already tried:

HARNESS_PERL_SWITCHES=-MDevel::Cover prove -lv t/basic.t

Devel::Cover can cause otherwise well-behaved code to segfault occasionally. There's at least two issues in its issue tracker related to segfaults. Having skimmed your code, I don't think you're triggering either of those two, but I am pretty sure there are other unreported potential segfaults lurking in Devel::Cover.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2021-10-22 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?