Branch Coverage

blib/lib/Callback/Frame.pm
Criterion Covered Total %
branch 39 46 84.7


line true false branch
24 8 58 if ($k eq 'name') { }
31 27 elsif ($k eq 'code') { }
12 15 elsif ($k eq 'catch') { }
10 5 elsif ($k eq 'local') { }
5 0 elsif ($k eq 'existing_frame') { }
38 0 66 unless defined $v
43 5 26 if $package eq 'Callback::Frame'
46 0 31 unless defined $code
49 5 26 if (defined $existing_frame)
51 0 5 unless $existing_top_of_stack
52 0 5 if defined $catcher
53 0 5 if defined $locals
67 5 26 if ($existing_top_of_stack) { }
79 12 14 if defined $catcher
80 9 17 if defined $locals
100 29 30 unless exists $$frame_i{'locals'}
102 7 27 if exists $$local_refs{$k}
134 11 22 if ($err)
138 4 15 unless exists $$frame_i{'catcher'}
146 4 10 if defined $val and $val == 1
175 2 5 unless ref $coderef
177 3 2 if exists $$active_frames{$coderef}
207 0 1 unless wantarray