Re: Devel::Cover and nested subroutines

2004-06-29 Thread Paul Johnson
On Mon, Jun 28, 2004 at 01:55:09PM -0400, Geoffrey Young wrote: > > 2. Devel::Cover needs to be able to find Parser.yp. In the example > > the filename given is Parser.yp, but the file is actually at > > lib/My/Parser.yp and so Devel::Cover can't find it. Changing the > > ex

Re: Devel::Cover and nested subroutines

2004-06-28 Thread Geoffrey Young
> Thanks a lot for the test cases. I think there are two separate bugs > here, but I'm only going to take responsibility for one ;-) :) > > First, mine. The problem with Foo.pm (the minimal test case) is that > completely empty subroutines (that is subs which contain no statements > at all) a

Re: Devel::Cover and nested subroutines

2004-06-26 Thread Paul Johnson
On Fri, Jun 25, 2004 at 11:07:06AM -0400, Geoffrey Young wrote: > hi paul :) > > I recently discovered an issue with nested subroutines while using > Devel::Cover with Parse::Yapp. the basic issue is that some subroutines are > not discovered by Devel::Cover and thus no metrics are generated. >

Devel::Cover and nested subroutines

2004-06-25 Thread Geoffrey Young
hi paul :) I recently discovered an issue with nested subroutines while using Devel::Cover with Parse::Yapp. the basic issue is that some subroutines are not discovered by Devel::Cover and thus no metrics are generated. there are two files in the tarball. Foo.pm is a minimal test case showing t