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.
In reply to Re: mystery: Devel::Cover showing missing statement coverage on a line that is being run
by haukex
in thread mystery: Devel::Cover showing missing statement coverage on a line that is being run
by pryrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |