in reply to mystery: Devel::Cover showing missing statement coverage on a line that is being run

I can confirm the same results, and it looks like a bug to me. The minimal test case I was able to reduce it to is { sub x {} } x() (a print can be inserted into the sub to prove it actually does run). The issue trackers contain a few bugs for similar kinds of issues where coverage is not reported correctly, so you may want to open a new bug report.

  • Comment on Re: mystery: Devel::Cover showing missing statement coverage on a line that is being run
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: mystery: Devel::Cover showing missing statement coverage on a line that is being run
by pryrt (Abbot) on May 13, 2023 at 16:20 UTC
    Thanks for the confirmation. Created issue 324.