lib/Perlmazing/Perlmazing/Precompile/is_empty.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 4 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 32 | 32 | 271 | use Perlmazing qw(not_empty); | |||
32 | 76 | ||||||
32 | 201 | ||||||
2 | |||||||
3 | sub main ($) { | ||||||
4 | 12 | 100 | 12 | 2572 | not_empty($_[0]) ? 0 : 1; | ||
5 | } | ||||||
6 |