From: Robert M. <rm...@po...> - 2005-10-03 20:21:32
|
Reini Urban wrote: > I've done now Devel::Cover tests for the old and new tests. > > $ perldoc Devel::Cover > $ HARNESS_PERL_SWITCHES=-MDevel::Cover make test > $ cover > > what stmt bran cond sub pod time total > 3 tests only: 11.4 6.3 9.5 11.1 16.7 100.0 9.9 > with my tests 48.5 26.0 28.6 63.7 16.7 100.0 43.2 > > That means that with my included tests we get a coverage of 43.2%, > compared to 9.9% with the current tests. > I'm working on getting closer to 100%, but the pod coverage of 16.7% is poor. > > It's interesting to see the detailed reports, which statements or if-then-else > branches are never executed in the tests. I'll have to install Devel::Cover and have a look. Thanks for the heads-up. Would I be right in assuming that the coverage figures are for the Perl code only, and not the XS code? Regards, Rob. |