Branch Coverage

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


line true false branch
22 1 62 if (not $caller or $caller ne 'Try::Catch')
32 11 51 unless ($catch)
40 51 11 if (not defined $wantarray) { }
7 4 elsif (not $wantarray) { }
51 36 22 $fail ? :
53 36 22 if ($fail)
58 30 6 if (not defined $wantarray) { }
4 2 elsif (not $wantarray) { }
70 10 26 if ($ret)
71 8 2 if $finally
77 18 30 if $finally
78 4 43 $wantarray ? :
82 3 54 unless wantarray
83 18 36 if (@_ > 1) { }
84 1 17 if not $_[2] or $_[2] ne 'Try::Catch'
93 3 30 unless wantarray
94 1 29 if (@_ > 1)