Branch Coverage

blib/lib/Venus/Error.pm
Criterion Covered Total %
branch 41 54 75.9


line true false branch
44 278 75 if $self->name
45 32 321 unless $self->context
46 89 264 unless $self->message
47 353 0 unless exists $data->{'verbose'}
48 353 0 unless @{$self->frames;}
60 1 2 unless $captured
64 1 1 unless defined $index
66 0 1 unless $arguments
79 9 5 ref $self ? :
81 6 8 unless ($self->can($method))
105 1 2 unless $captured
109 1 1 unless defined $index
111 0 1 unless $callframe
125 326 1778 if $name
133 0 1248 unless @{$self->frames;}
140 0 1248 unless $self->verbose
177 1245 3 if @$frames > 1
208 17 3 if ($self->name and not $self->can($method))
209 17 0 $self->name eq $name ? :
212 3 0 ref $self ? :
2 1 (ref $self ? $self : $self->new)->$method ? :
228 5 0 if ($self->name and not $self->can($method))
229 3 2 $self->name =~ /$name/u ? :
232 0 0 ref $self ? :
0 0 (ref $self ? $self : $self->new)->$method ? :
274 1 356 unless ref $self
289 2 8019 if defined $limit and $i + 1 == $offset + $limit