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 | 32 | 32 | 279 | use Perlmazing; | |||
32 | 79 | ||||||
32 | 197 | ||||||
2 | |||||||
3 | sub main (\%@) { | ||||||
4 | 1 | 1 | 108 | my $h = shift; | |||
5 | 1 | 66 | 13 | while (@_ and my ($k, $v) = (shift @_, shift @_)) { | |||
6 | 6 | 25 | $h->{$k} = $v; | ||||
7 | } | ||||||
8 | 1 | 4 | %$h; | ||||
9 | } | ||||||
10 |