File Coverage

lib/Perlmazing/Perlmazing/Precompile/_isa_ref.pm
Criterion Covered Total %
statement 3 7 42.8
branch 0 2 0.0
condition n/a
subroutine 1 2 50.0
pod n/a
total 4 11 36.3


line stmt bran cond sub pod time code
1 31     31   312 use Perlmazing;
  31         69  
  31         167  
2            
3             sub main {
4 0     0     my ($type, $val) = @_;
5 0 0         if (is_blessed $val) {
6 0           define $val->isa($type);
7             } else {
8 0           define _is_ref $type, $val;
9             }
10             }