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 34     34   300 use Perlmazing;
  34         86  
  34         227  
2              
3             sub main ($) {
4 15     15   248858 my $x = shift();
5 15 100 100     111 return 0 unless (defined($x) and length($x));
6 9         53 return 1;
7             }
8