Branch Coverage

blib/lib/Try/Tiny.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
19 9 1 unless ($su or $sn)
21 0 9 unless ($su)
28 0 0 $sn ? :
10 0 $su ? :
29 10 0 $su || $sn ? :
53 33 32 if (ref $code_ref eq 'Try::Tiny::Catch') { }
31 1 elsif (ref $code_ref eq 'Try::Tiny::Finally') { }
54 1 32 if $catch
60 1 0 defined $code_ref ? :
97 4 48 if ($wantarray) { }
7 41 elsif (defined $wantarray) { }
114 26 23 if ($failed) { }
119 19 7 if ($catch)
133 2 21 $wantarray ? :
140 3 35 unless wantarray
153 3 35 unless wantarray
167 0 10 "$]" < 5.013002 ? :
181 2 29 unless (eval { do { &$code(@args); 1 } })
182 2 0 defined $@ ? :