Condition Coverage

blib/lib/Language/RAM.pm
Criterion Covered Total %
condition 19 38 50.0


and 3 conditions

line !l l&&!r l&&r condition
191 0 0 0 $limit > 0 and $machine->{'steps'} == $limit
588 0 11 0 $right->[0] eq 'imm' and $_[1] eq '+' || $_[1] eq '-'
617 1 0 1 $inner->[0] eq 'reg' and $inner->[1] ne 'a'
782 1 0 1 $right->[0] eq 'reg' and $right->[1] eq 'a'

or 2 conditions

line l !l condition
168 0 0 $machine->{'input'}[$index] // 0
299 0 0 $machine->{'input'}[$index] // 0
879 12 75 $_[2] // 0
1074 17 75 $_[2] // 0

or 3 conditions

line l !l&&r !l&&!r condition
171 0 0 0 $limit == -1 or $machine->{'steps'} < $limit
588 10 0 1 $_[1] eq '+' || $_[1] eq '-'
5 0 11 $type or $right->[0] eq 'imm' and $_[1] eq '+' || $_[1] eq '-'
770 6 1 1 $rcheck or exists $assign_a_right{$right->[0]}
773 0 1 1 $rcheck or $right->[0] eq 'algo'
776 0 0 1 not $right->[1] or $right->[0] ne 'algo'