Condition Coverage

blib/lib/Language/RAM.pm
Criterion Covered Total %
condition 15 30 50.0


and 3 conditions

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

or 3 conditions

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