| blib/lib/Language/RAM.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 44 | 43.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 184 | 0 | 0 | 0 | $_[3] and not exists $machine->{'snaps'}{$machine->{'steps'}} |
| 190 | 0 | 0 | 0 | $_[3] and not exists $machine->{'snaps'}{$machine->{'steps'}} |
| 198 | 0 | 0 | 0 | $limit > 0 and $machine->{'steps'} == $limit |
| 595 | 0 | 11 | 0 | $right->[0] eq 'imm' and $_[1] eq '+' || $_[1] eq '-' |
| 624 | 1 | 0 | 1 | $inner->[0] eq 'reg' and $inner->[1] ne 'a' |
| 789 | 1 | 0 | 1 | $right->[0] eq 'reg' and $right->[1] eq 'a' |
| line | l | !l | condition |
|---|---|---|---|
| 168 | 0 | 0 | $machine->{'input'}[$index] // 0 |
| 306 | 0 | 0 | $machine->{'input'}[$index] // 0 |
| 886 | 12 | 75 | $_[2] // 0 |
| 1081 | 17 | 75 | $_[2] // 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 171 | 0 | 0 | 0 | $limit == -1 or $machine->{'steps'} < $limit |
| 595 | 10 | 0 | 1 | $_[1] eq '+' || $_[1] eq '-' |
| 5 | 0 | 11 | $type or $right->[0] eq 'imm' and $_[1] eq '+' || $_[1] eq '-' | |
| 777 | 6 | 1 | 1 | $rcheck or exists $assign_a_right{$right->[0]} |
| 780 | 0 | 1 | 1 | $rcheck or $right->[0] eq 'algo' |
| 783 | 0 | 0 | 1 | not $right->[1] or $right->[0] ne 'algo' |