File Coverage

lib/Perlmazing/Perlmazing/Precompile/_isa_ref.pm
Criterion Covered Total %
statement 7 7 100.0
branch 2 2 100.0
condition n/a
subroutine 2 2 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1 50     50   450 use Perlmazing;
  50         112  
  50         317  
2            
3             sub main {
4 275     275   655 my ($type, $val) = @_;
5 275 100       710 if (is_blessed $val) {
6 143         1107 $val->isa($type);
7             } else {
8 132         421 _is_ref $type, $val;
9             }
10             }