Branch Coverage

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


line true false branch
36 3133 0 unless defined $self->on_catch
62 3083 52 unless (UNIVERSAL::isa($callback, "CODE"))
66 3082 1 if (defined $invocant) { }
73 1 3082 unless ($method)
104 381 13 if ($variable) { }
118 2991 111 if $self->arguments and @{$self->arguments;}
120 3058 44 if defined $self->invocant
123 3098 4 wantarray ? :
191 172 2926 if ($error)
197 16 0 if (UNIVERSAL::isa($caught, $catcher->[0]))
204 156 16 unless (@returned)
205 153 3 if ($default)
211 3 169 unless (@returned)
212 2 1 if (&Scalar::Util::blessed($caught)) { }
216 0 1 if (UNIVERSAL::isa($caught, 'Venus::Error')) { }
228 3 3092 if (my $finally = $self->on_finally)
234 354 2741 wantarray ? :
243 1 1 $invocant ? :