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

Owner: Nobody in particular
Requestors: steve [...]

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

Subject: gcov2perl fails on error "Undefined subroutine add_statement called"
Download (untitled) / with headers
text/plain 567b
gcov2perl fails everytime it is run with the above error. The fix is actually very simple. diff -u like patch is provided below to fix the AUTOLOAD method in my ($function, $criterion) = $func =~ /^(add|get)_(.*)/; croak "Undefined subroutine $func called" unless $criterion && --- grep $_ eq $criterion, $self->criteria, qw( time sub_name file line ); +++ grep $_ eq $criterion, $self->criteria, qw( time sub_name file line statement ); no strict "refs"; if ($function eq "get")

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

Please report any issues with to