Branch Coverage

blib/lib/Venus/Try.pm
Criterion Covered Total %
branch 33 36 91.6


line true false branch
36 3147 0 unless defined $self->on_catch
62 3097 54 unless (UNIVERSAL::isa($callback, "CODE"))
66 3096 1 if (defined $invocant) { }
73 1 3096 unless ($method)
107 389 15 if ($variable) { }
121 3027 89 if $self->arguments and @{$self->arguments;}
123 3072 44 if defined $self->invocant
126 3112 4 wantarray ? :
194 182 2930 if ($error)
200 18 0 if (UNIVERSAL::isa($caught, $catcher->[0]))
207 164 18 unless (@returned)
208 161 3 if ($default)
214 3 179 unless (@returned)
215 2 1 if (&Scalar::Util::blessed($caught)) { }
219 0 1 if (UNIVERSAL::isa($caught, 'Venus::Error')) { }
231 3 3106 if (my $finally = $self->on_finally)
237 361 2748 wantarray ? :
248 1 1 $invocant ? :