Branch Coverage

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


line true false branch
36 3613 0 unless defined $self->on_catch
62 3563 63 unless (UNIVERSAL::isa($callback, "CODE"))
66 3562 1 if (defined $invocant) { }
73 1 3562 unless ($method)
107 362 24 if ($variable) { }
121 3349 219 if $self->arguments and @{$self->arguments;}
123 3524 44 if defined $self->invocant
126 3564 4 wantarray ? :
194 372 3192 if ($error)
200 25 0 if (UNIVERSAL::isa($caught, $catcher->[0]))
207 347 25 unless (@returned)
208 344 3 if ($default)
214 3 369 unless (@returned)
215 2 1 if (&Scalar::Util::blessed($caught)) { }
219 0 1 if (UNIVERSAL::isa($caught, 'Venus::Error')) { }
231 3 3558 if (my $finally = $self->on_finally)
237 349 3212 wantarray ? :
248 1 1 $invocant ? :