Branch Coverage

lib/Unexpected/Functions.pm
Criterion Covered Total %
branch 44 44 100.0


line true false branch
87 3 20 $_[0] && ref $_[0] eq 'HASH' ? :
94 22 1 unless $ex_class
97 2 27 if ($ex_class->can('is_exception') and $ex_class->is_exception($sym)) { }
110 1 1 if defined $_[1]
123 2 9 $n % 2 == 1 ? :
1 11 ref $_[1] eq 'HASH' ? :
4 12 ref $_[1] eq 'ARRAY' ? :
8 16 $n == 1 ? :
6 24 ref $_[0] eq 'HASH' ? :
3 30 ref $_[0] eq 'CODE' ? :
2 33 &is_one_of_us($_[0]) ? :
8 35 $n == 0 ? :
131 1 10 unless wantarray
153 12 495 $defaults->[2] ? :
155 500 7 length $_ ? :
166 5 12 if ($stash->has_symbol('$VERSION'))
169 4 1 if (defined $version)
170 1 3 unless ref $version
172 1 2 if &reftype($version) eq 'SCALAR' and defined ${$version;}
173 1 1 if &blessed($version)
177 2 12 if $stash->has_symbol('@ISA') and @{$stash->get_symbol('@ISA');}
180 5 7 $stash->list_all_symbols('CODE') ? :