lib/Perlmazing/Perlmazing/Precompile/_is_ref.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 7 | 7 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 50 | 50 | 440 | use Perlmazing; | |||
50 | 113 | ||||||
50 | 274 | ||||||
2 | |||||||
3 | sub main { | ||||||
4 | 385 | 385 | 948 | my ($type, $val) = @_; | |||
5 | 385 | 1728 | ref($val) eq $type; | ||||
6 | } | ||||||
7 |