lib/Unexpected/Functions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 23 | 95.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 2 | 18 | 3 | $_[0] && ref $_[0] eq 'HASH' |
97 | 24 | 3 | 2 | $ex_class->can('is_exception') and $ex_class->is_exception($sym) |
172 | 1 | 1 | 1 | &reftype($version) eq 'SCALAR' and defined ${$version;} |
177 | 11 | 1 | 2 | $stash->has_symbol('@ISA') and @{$stash->get_symbol('@ISA');} |
184 | 62 | 3 | 6 | $_[0] && &blessed($_[0]) && $_[0]->isa($Exception_Class) |
line | l | !l | condition |
---|---|---|---|
133 | 9 | 1 | &$check($_[0]) || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 2 | 21 | 0 | $global_opts->{'into'} //= caller |
156 | 502 | 0 | 5 | $_ // $defaults->[0] |