How to collect code coverage of both perl scripts and modules

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manimarank
    New Member
    • Jul 2007
    • 23

    How to collect code coverage of both perl scripts and modules

    I have written a perl script which inturn calls or runs few perl modules.
    My requirement is to use run the perl script with different switches or arguments
    and asses the code coverage of both perl script and perl modules. I am using Devel::Cover module to collect metrics, but it collects only for the given perl script not for modules. Does anyone uses the Devel::Cover module to collect the coverage metrics for perl and its modules? Any suggestion is much useful for me.
    Thanks in Advance.

    Regards,
    Manimaran
Working...