Subroutine Coverage

blib/lib/CPU/Emulator/DCPU16.pm
Criterion Covered Total %
subroutine 29 43 67.4
pod 13 13 100.0


line count pod subroutine
3 4 n/a BEGIN
4 4 n/a BEGIN
6 4 n/a BEGIN
7 4 n/a BEGIN
9 4 n/a BEGIN
55 2 Yes new
61 5 n/a _init
90 5 Yes load
108 10 Yes bytes_to_array
123 1 Yes map_device
170 5 Yes run
192 735 Yes step
241 3328 Yes pc
252 7 Yes sp
263 1008 Yes o
274 745 Yes halt
285 735 Yes program_top
296 110 Yes register
304 794 n/a _reg_ref
315 755 Yes memory
324 464 n/a _mem_ref
331 0 n/a _dump_header
336 0 n/a _dump_state
345 0 n/a _debug
351 1470 n/a _get_value
389 4 n/a _skip
397 0 n/a _NOOP
402 1 n/a _JSR
411 368 n/a _SET
418 255 n/a _ADD
426 12 n/a _SUB
434 0 n/a _MUL
442 0 n/a _DIV
454 0 n/a _MOD
465 1 n/a _SHL
473 0 n/a _SHR
481 0 n/a _AND
488 0 n/a _BOR
495 0 n/a _XOR
502 0 n/a _IFE
509 98 n/a _IFN
516 0 n/a _IFG
523 0 n/a _IFB