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 31     31   299 use Perlmazing;
  31         73  
  31         185  
2            
3             sub main (\%@) {
4 1     1   105 my $h = shift;
5 1   66     13 while (@_ and my ($k, $v) = (shift @_, shift @_)) {
6 6         26 $h->{$k} = $v;
7             }
8 1         4 %$h;
9             }
10