[Bioperl-l] Devel::Cover

Nathan Haigh n.haigh at sheffield.ac.uk
Thu Mar 8 12:48:53 UTC 2007


Sendu Bala wrote:
> Nathan Haigh wrote:
>> I seem to remember Devel::Cover being mentioned somewhere as a means to
>> see how well BioPerl code coverage was with tests.
>>
>> I've just been having a play around with this for an application I'm
>> writing, and the code coverage metrics it produces are/have been pretty
>> useful in determining where additional tests are needed in order to
>> fully stress test my modules/application.
>>
>> I was just wondering if anyone got around to looking at this for
>> BioPerl? I'm just running the tests at the moment on bioperl-live. If
>> anyone is interested in the results, I can put them on a webserver?
>
> I was going to get round to it eventually.
>
> Build.PL supports these things, making use of Devel::Cover et al.:
>
> ./Build help testcover
> ./Build help testpod
> ./Build help testpodcoverage
>
> I started running
>
> ./Build testcover
>
> and its amazingly slow. So if you run it and capture the output
> somewhere that might be useful.
>
>
> Cheers,
> Sendu.

Ah, that's another cool thing about Build.PL - I was going about this
the long way :-[

I'll post results somewhere shortly and let you know!

Nath



More information about the Bioperl-l mailing list