Michael G Schwern wrote:
On Fri, Mar 04, 2005 at 04:27:07PM -0800, Ofer Nave wrote:Is it possible to tell quasi-reliably if the code in question uses threads and skip it? On that note, is forking also problematic?
Random thought: Could Devel::Cover be automatically run against all modules in CPAN, with ratings posted on cpan.org right next to the usual test results?
It still chokes on certain not uncommon constructs like threads.
I think it would be a powerful addition to CPAN. If you go to the distribution page for any module - say, for example, Class::DBI (http://search.cpan.org/~tmtm/Class-DBI/) - you can see that all tests passed on 29 platforms and failed on 6, but it doesn't tell you how comprehensive the tests are. Worst case, it could be a single test hard-coded to return true, and you'll never know without download and examing the tarball.
Imagine if instead of:
CPAN Testers PASS (29) FAIL (6) [ View ]
it said:
CPAN Testers PASS (29) FAIL (6) COVERAGE (42%) [ View ]
-ofer