File Coverage

lib/Perlmazing/Perlmazing/Precompile/merge.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition 2 3 66.6
subroutine 2 2 100.0
pod n/a
total 11 12 91.6


line stmt bran cond sub pod time code
1 50     50   445 use Perlmazing;
  50         126  
  50         298  
2            
3             sub main (\%@) {
4 1     1   13 my $h = shift;
5 1   66     11 while (@_ and my ($k, $v) = (shift @_, shift @_)) {
6 6         23 $h->{$k} = $v;
7             }
8 1         3 %$h;
9             }
10