Branch Coverage

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


line true false branch
44 123 69 if $self->name
45 32 160 unless $self->context
46 91 101 unless $self->message
47 192 0 unless exists $data->{'verbose'}
48 192 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))
103 1 2 unless $captured
107 1 1 unless defined $index
109 0 1 unless $callframe
123 175 1035 if $name
131 0 752 unless @{$self->frames;}
138 0 752 unless $self->verbose
175 750 2 if @$frames > 1
206 21 3 if ($self->name and not $self->can($method))
207 21 0 $self->name eq $name ? :
210 3 0 ref $self ? :
2 1 (ref $self ? $self : $self->new)->$method ? :
226 5 0 if ($self->name and not $self->can($method))
227 3 2 $self->name =~ /$name/u ? :
230 0 0 ref $self ? :
0 0 (ref $self ? $self : $self->new)->$method ? :
272 1 166 unless ref $self
287 2 4026 if defined $limit and $i + 1 == $offset + $limit