perldevel-cover

how to list uncovered pm/pl file in Devel::Cover's report


My dir/files are like this:

/lib/a.pm
/lib/b.pm
/lib/c.pm
..
/lib/n.pm

/lib/start.pl

start.pl is an interactive program, it will call different pm based on my selection.

when I run start.pl with

Devel::Cover :  PERL5OPT=-MDevel::Cover /lib/start.pl 

the output html report will list all the pms start.pl called. I want to list all pms. All, include those pms start.pl called ,and those without called. This will help me to get what pm not use during my current test.

Can this be done by Devel::Cover??


Solution

  • Unfortunately not. If no part of a module has been executed, Devel::Cover doesn't know about the module.