Re: Devel::Cover Use case

2015-07-23 Thread Piyush Verma
Thanks Paul. It worked for me :) Regards, ~Piyush Facebook Twitter On Wed, Jul 22, 2015 at 8:26 PM, Paul Johnson wrote: > On Wed, Jul 22, 2015 at 08:17:18PM +0530, Piyush Verma wrote: > > Thanks Paul, this solved me some

Re: Devel::Cover Use case

2015-07-22 Thread Shlomi Fish
Hi Piyush, On Wed, 22 Jul 2015 20:03:37 +0530 Piyush Verma <114piy...@gmail.com> wrote: > Hi Shlomi, > > Code is not using t/*.t framework, it contains .pl and .pm files. I was > trying via PERL5OPT=-MDevel:Cover > I test my code via passing different-different arguments to .pl file, Is > there

Re: Devel::Cover Use case

2015-07-22 Thread Paul Johnson
On Wed, Jul 22, 2015 at 08:17:18PM +0530, Piyush Verma wrote: > Thanks Paul, this solved me some part of problem. I was using Devel::Cover > in wrong place of .pl file. > Now putting this on start of .pl script works for me but not completely. > > There are 20 .pm modules present in my project dir

Re: Devel::Cover Use case

2015-07-22 Thread Piyush Verma
Thanks Paul, this solved me some part of problem. I was using Devel::Cover in wrong place of .pl file. Now putting this on start of .pl script works for me but not completely. There are 20 .pm modules present in my project directory but in coverage report I am able to see only 6 .pm modules. I thi

Re: Devel::Cover Use case

2015-07-22 Thread Piyush Verma
Hi Shlomi, Code is not using t/*.t framework, it contains .pl and .pm files. I was trying via PERL5OPT=-MDevel:Cover I test my code via passing different-different arguments to .pl file, Is there any way I can use coverage module e.g. enable code coverage in each file? Regards, ~Piyush Facebook <

Re: Devel::Cover Use case

2015-07-22 Thread Paul Johnson
On Wed, Jul 22, 2015 at 04:56:12PM +0300, Shlomi Fish wrote: > Hi Piyush, > > On Wed, 22 Jul 2015 19:08:20 +0530 > Piyush Verma <114piy...@gmail.com> wrote: > > > Hi, > > > > I want to collect code coverage data of my perl project which has a .pl > > file and .pm files. > > If I include this mod

Re: Devel::Cover Use case

2015-07-22 Thread Shlomi Fish
Hi Piyush, On Wed, 22 Jul 2015 19:08:20 +0530 Piyush Verma <114piy...@gmail.com> wrote: > Hi, > > I want to collect code coverage data of my perl project which has a .pl > file and .pm files. > If I include this module in each file, I'm getting result only of .pl file. > > Can anyone suggest ab

Devel::Cover Use case

2015-07-22 Thread Piyush Verma
Hi, I want to collect code coverage data of my perl project which has a .pl file and .pm files. If I include this module in each file, I'm getting result only of .pl file. Can anyone suggest about the use case so that I can collect code coverage data of all files. Regards, ~Piyush