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.
Steps to reproduce:
1. Install libtest-strict-perl.
2. git clone git://git.eyrie.org/perl/ansicolor.git && cd ansicolor
3. perl Makefile.PL
4. make
5. env RRA_MAINTAINER_TESTS=1 prove -b t/strict.t
Now, look at cover_db/coverage.html. You'll see in the table that
conditional coverage is only 70.5% and is marked red. However, if
you click on the percentage to go to the detailed breakdown, you'll
see that all conditionals are 100% covered.