Branch Coverage

blib/lib/CPU/Z80/Assembler/Parser.pm
Criterion Covered Total %
branch 41 46 89.1


line true false branch
7997 1 1 if (ref $last) { }
8010 20 53 if (@{$_[0];} > 1) { }
8025 0 11 if $@
8056 1 18 if exists $_[1]->macros->{$name}
8074 16 8 defined $_[0][0] ? :
12134 6 84 if (@{$_[0];} > 1) { }
23 61 elsif (exists $_[1]->macros->{$name}) { }
15570 33 2738 if (defined $start_rule) { }
15571 0 33 unless $state = $state_table[0]{$start_rule}
15575 0 2738 unless $state = $start_state
15587 254613 5453 $token ? :
178613 81453 if ($entry = $state_table[$state]{$token ? $token->type : ''}) { }
81444 9 elsif ($entry = $state_table[$state]{'__else__'}) { }
15597 96887 163170 if (ref $entry eq 'ARRAY') { }
15605 128714 34456 unless ($found_else)
15606 125989 2725 if $token
15615 2752 96858 unless (@stack)
15621 50315 46543 if defined $value
15633 2 7 scalar @expected == 1 ? :
15644 0 27 if $token eq ""
15645 15 12 if $token =~ /\W/
15657 16085 4 if (@bytes)
15668 1654 0 if (@opcodes)