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 ? :
98 4 48 if ($wantarray) { }
7 41 elsif (defined $wantarray) { }
115 26 23 if ($failed) { }
120 19 7 if ($catch)
134 2 21 $wantarray ? :
141 3 35 unless wantarray
155 3 35 unless wantarray
170 0 10 "$]" < 5.013002 ? :
184 2 29 unless (eval { do { &$code(@args); 1 } })
185 2 0 defined $@ ? :