Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 66471
Status: open
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: doogie [...] brainfood.com
Cc: jkeenan [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Devel::Cover does not see top-level statements in used Modules
Date: Tue, 08 Mar 2011 13:10:30 -0600
To: bug-Devel-Cover [...] rt.cpan.org
From: Adam Heath <doogie [...] brainfood.com>
Download (untitled) / with headers
text/plain 357b
Extract the 3 files attached to this email. Run 'make test'. Then, look at the coverage report for External.pm, and notice that the package-level statements are not shown as being run, even tho the output that they do to @trace *is* seen. The contents of External.pm are included inline inside test.pl, as package Internal; those lines *do* show up.
Download External.pm
text/x-perl 311b

Message body is not shown because sender requested not to inline it.

Download test.pl
text/x-perl 811b

Message body is not shown because sender requested not to inline it.

Download Makefile
text/plain 89b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 479b
On Tue Mar 08 14:11:03 2011, doogie@brainfood.com wrote: Show quoted text
> Extract the 3 files attached to this email. Run 'make test'. Then, > look at the coverage report for External.pm, and notice that the > package-level statements are not shown as being run, even tho the > output that they do to @trace *is* seen. > > The contents of External.pm are included inline inside test.pl, as > package Internal; those lines *do* show up.
Confirmed with Perl 5.16.0 and Devel::Cover 1.00.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.