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

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

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



Subject: relative paths in cover_db
If I have a foo/bar/cover_db and call cover on it from the directory that contains foo/, the relative paths of files referenced by the cover_db don't seem to work: $ cover foo/bar/cover_db Reading database from /Users/marcel/xxx/foo/bar/cover_db Devel::Cover: Can't open blib/lib/baz.pm for MD5 digest: No such file or directory
On Sat Apr 10 08:32:08 2010, MARCEL wrote: Show quoted text
> If I have a foo/bar/cover_db and call cover on it from the directory > that contains foo/, the > relative paths of files referenced by the cover_db don't seem to work: > > $ cover foo/bar/cover_db > Reading database from /Users/marcel/xxx/foo/bar/cover_db > Devel::Cover: Can't open blib/lib/baz.pm for MD5 digest: No such file > or directory
Confirmed, by using a cover_db I created while working on another ticket in this bug queue: ########## $ cover -summary ./cover_db/ Reading database from /Users/jimk/Documents/AAAPerl/Devel-Cover/40454/cover_db Devel::Cover: ignoring extra statement Devel::Cover: ignoring extra statement ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total ---------------------------- ------ ------ ------ ------ ------ ------ ------ lib/Wut.pm 75.0 n/a n/a 100.0 n/a 0.0 80.0 t/call_the_constant.t 100.0 n/a n/a 100.0 n/a 100.0 100.0 Total 87.5 n/a n/a 100.0 n/a 100.0 90.0 ---------------------------- ------ ------ ------ ------ ------ ------ ------ HTML output written to /Users/jimk/Documents/AAAPerl/Devel-Cover/40454/cover_db/coverage.html done. $ cd .. $ cover -summary ./40454/cover_db/ Reading database from /Users/jimk/Documents/AAAPerl/Devel-Cover/40454/cover_db Devel::Cover: Warning: can't open t/call_the_constant.t for MD5 digest: No such file or directory Devel::Cover: Warning: can't open lib/Wut.pm for MD5 digest: No such file or directory Devel::Cover: Warning: can't locate structure for subroutine in lib/Wut.pm Devel::Cover: Warning: can't locate structure for statement in lib/Wut.pm Devel::Cover: Warning: can't locate structure for time in lib/Wut.pm Devel::Cover: Warning: can't locate structure for subroutine in t/call_the_constant.t Devel::Cover: Warning: can't locate structure for statement in t/call_the_constant.t Devel::Cover: Warning: can't locate structure for time in t/call_the_constant.t ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total ---------------------------- ------ ------ ------ ------ ------ ------ ------ lib/Wut.pm n/a n/a n/a n/a n/a n/a n/a t/call_the_constant.t n/a n/a n/a n/a n/a n/a n/a Total n/a n/a n/a n/a n/a n/a n/a ---------------------------- ------ ------ ------ ------ ------ ------ ------ HTML output written to /Users/jimk/Documents/AAAPerl/Devel-Cover/40454/cover_db/coverage.html Can't read file 'lib/Wut.pm' [No such file or directory] Can't read file 't/call_the_constant.t' [No such file or directory] done. #########