Control: severity -1 wishlist Russ Allbery <r...@debian.org> writes:
> Devel::Cover (called via Test::Strict, although I don't believe that > would matter) misreports coverage of conditionals for one of my Perl > modules. It reports conditional coverage of 70.5%, but when looking at > the HTML report, all conditionals are listed as covered (green). > There's apparently some phantom conditional affecting the stats but not > reflected in the report. I found it. The phantom conditionals were in subs generated via eval inside AUTOLOAD. So the summary is correct; the only problem is with the reporting, which doesn't know how to handle eval-generated subs. Some of the reporting sort of works, when I look at the main summary for the file, but apparently the conditional coverage doesn't. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org