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: 66881
Status: resolved
Priority: 0/
Queue: Devel-Cover

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

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



Symlinked directories can prevent the ignore functionality from working. If you have a Library in a symlinked directory and you tell Devel::Cover to ignore the symlinked directory, when it compares any file in that symlinked directory against the ignore list the comparison fails since it gets the absolute path of the file. This can happen on user defined ignores using +ignore, or on the compiled-in defaults if a user happens to have symlinks in their perl configuration. I've marked this unimportant since I imagine this is very rarely an issue for anyone.
Thanks very much for this report. I think you are correct in your analysis. The ignore and select options take regular expressions, so I'm not keen on changing them and, in any case, the users can change the values themselves to match the target of the symlinks. The inc options are more important because they represent directories and because they should represent perl's @INC by default. I think this is fixed with f650a35. If you have a chance to test it from git (https://github.com/pjcj/Devel--Cover) I'd be very grateful. I'm going to close this ticket, but if there are still problems in this area, please feel free to reopen it. Thanks again.