File Coverage

lib/Perlmazing/Perlmazing/Precompile/not_empty.pm
Criterion Covered Total %
statement 6 6 100.0
branch 2 2 100.0
condition 3 3 100.0
subroutine 2 2 100.0
pod n/a
total 13 13 100.0


line stmt bran cond sub pod time code
1 31     31   307 use Perlmazing;
  31         78  
  31         183  
2            
3             sub main ($) {
4 15     15   1291 my $x = shift();
5 15 100 100     83 return 0 unless (defined($x) and length($x));
6 9         37 return 1;
7             }
8