Skip Menu |

This queue is for tickets about the Test-Pod-Coverage CPAN distribution.

Report information
The Basics
Id: 85709
Status: new
Priority: 0/
Queue: Test-Pod-Coverage

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: sharedirs should be skipped
all_modules() scans everything in blib, if it exists -- which includes sharedir content such as blib/lib/auto/share/module/<distname>/... -- sometimes this contains a .pm file, which should not be assumed to contain parsable pod (and indeed if it is unparsable, this test blows up). This is a common occurrence for Dist::Zilla minting profiles, which packages a template 'Module.pm' file in a sharedir, and won't necessarily contain parsable pod nor executable perl. Test::Pod::Coverage needs to skip these files. The simplest thing to do would be to prune directories at auto/.