Branch Coverage

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


line true false branch
44 117 65 if $self->name
45 32 150 unless $self->context
46 81 101 unless $self->message
47 182 0 unless exists $data->{'verbose'}
48 182 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 169 985 if $name
131 0 714 unless @{$self->frames;}
138 0 714 unless $self->verbose
175 712 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 156 unless ref $self
287 2 3842 if defined $limit and $i + 1 == $offset + $limit