Branch Coverage

blib/lib/Try/Catch.pm
Criterion Covered Total %
branch 34 34 100.0


line true false branch
21 1 66 if (not $caller or $caller ne 'Try::Catch')
31 12 54 unless ($catch)
39 55 11 if (not defined $wantarray) { }
7 4 elsif (not $wantarray) { }
51 39 23 if ($fail)
55 33 6 if (not defined $wantarray) { }
4 2 elsif (not $wantarray) { }
67 11 28 if ($ret)
69 9 2 if ($finally)
77 20 31 if ($finally)
79 9 11 $fail ? :
83 4 46 $wantarray ? :
87 3 57 unless wantarray
88 20 37 if (@_ > 1) { }
89 1 19 if not $_[2] or $_[2] ne 'Try::Catch'
98 3 33 unless wantarray
99 1 32 if (@_ > 1)