Michael Graham wrote:
As I was downloading the newest version of Devel::Cover this morning, I
pondered on the concept of 1 Kwalitee point for coverage >= 80%, and
another for 100%, and how absolutely impossible it would be to set out
to establish these points for all the modules on CPAN. But it would be Good.
I think a point for >= 80% would be okay (for some definition of 80%).
But I think a more useful measure of kwalitee would be a 20%-30%
coverage test.
Something like that sounds much more reasonable than a high number.
Of course, if you've seen the first third of the PPI talk you realise we
still have all the problems of having to use perl itself...
#!/usr/bin/perl
use Test::More 'no_plan';
use Suitcase::Nuke trigger_in_seconds => 1;
pass("Looks good");
oops, there goes the neighbourhood.
Collecting any sort of coverage data is a complete bitch. Let me just
say right now that doing it across _all_ of CPAN is flat out impossible.
It's impossible.
Adam K