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 50     50   444 use Perlmazing;
  50         124  
  50         287  
2            
3             sub main ($) {
4 801     801   2679 my $x = shift();
5 801 100 100     2549 return 0 unless (defined($x) and length($x));
6 783         1793 return 1;
7             }
8