| 1 | 30 | ▶ | use Perlmazing; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | 1 | ▶ | sub main (\%@) { | ||||||||||||||||||||||||||
|
Subroutine
main: called CC=3 SCAR=11.0
| |||||||||||||||||||||||||||||
| 4 | 1 | my $h = shift; | |||||||||||||||||||||||||||
| 5 | 1 | ▶ | while (@_ and my ($k, $v) = (shift @_, shift @_)) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
@_ and () = (shift @_, shift @_)
MC/DC50%1/2
@_ and () = (shift @_, shift @_)
@_
() = (shift @_, shift @_)
Truth table66%2/3
A and B
A= @_B= () = (shift @_, shift @_)
| |||||||||||||||||||||||||||||
| 6 | 6 | $h->{$k} = $v; | |||||||||||||||||||||||||||
| 7 | } | ||||||||||||||||||||||||||||
| 8 | 1 | %$h; | |||||||||||||||||||||||||||
| 9 | } | ||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||