Branch Coverage

blib/lib/Acme/Aheui.pm
Criterion Covered Total %
branch 73 98 74.4


line true false branch
99 99 13 if ($char =~ /[\x{ac00}-\x{d7a3}]/) { }
122 2 4 unless $self->_has_initial_command
131 4 6 if ($first_command and $$first_command{'cho'} != -1)
145 0 76 if ($x > $#{$$codespace[$y];})
152 0 76 if (not $c or $$c{'cho'} == -1)
167 72 4 $stack ? :
168 0 76 if ($elem_num < [0, 0, 2, 2, 2, 2, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 2, 2, 0]->[$cho]) { }
173 0 76 if ($cho == 2) { }
8 68 elsif ($cho == 3) { }
3 65 elsif ($cho == 16) { }
6 59 elsif ($cho == 4) { }
0 59 elsif ($cho == 5) { }
18 41 elsif ($cho == 6) { }
24 17 elsif ($cho == 7) { }
12 5 elsif ($cho == 8) { }
1 4 elsif ($cho == 17) { }
0 4 elsif ($cho == 9) { }
0 4 elsif ($cho == 10) { }
0 4 elsif ($cho == 12) { }
0 4 elsif ($cho == 14) { }
4 0 elsif ($cho == 18) { }
200 2 16 if ($jong == 21) { }
16 0 elsif ($jong == 27) { }
209 1 23 if ($jong == 21) { }
2 21 elsif ($jong == 27) { }
235 0 0 $n >= $m ? :
239 0 0 if ($self->_pop($si) == 0)
262 2 99 if ($$self{'_y'} < 0)
265 2 99 if ($$self{'_y'} > $last_row_index)
270 4 97 if ($$self{'_x'} < 0)
273 3 98 if ($$self{'_x'} > $last_char_index and $$self{'_dx'} != 0)
285 28 48 if ($jung == 0) { }
0 48 elsif ($jung == 2) { }
16 32 elsif ($jung == 4) { }
0 32 elsif ($jung == 6) { }
12 20 elsif ($jung == 8) { }
0 20 elsif ($jung == 12) { }
16 4 elsif ($jung == 13) { }
0 4 elsif ($jung == 17) { }
0 4 elsif ($jung == 18) { }
1 3 elsif ($jung == 19) { }
3 0 elsif ($jung == 20) { }
326 0 257 if ($i == 27) { }
338 9 290 if ($i == 21) { }
0 290 elsif ($i == 27) { }
353 1 38 if ($i == 21) { }
0 38 elsif ($i == 27) { }
370 1 27 if ($i == 21) { }
0 27 elsif ($i == 27) { }