Branch Coverage

blib/lib/Device/Chip/nRF24L01P.pm
Criterion Covered Total %
branch 20 42 47.6


line true false branch
277 12 12 defined $_registers[$regnum] ? :
286 0 2 unless $len == length $data
300 10 2 if defined $_registers[$regnum] and $_registers[$regnum] eq $data
396 0 1 if $_ == 250000
397 0 1 if $_ == 1000000
398 1 0 if $_ == 2000000
465 0 1 unless $pipeno >= 0 and $pipeno < 6
479 0 1 if $pipeno >= 2
492 0 1 unless $pipeno >= 0 and $pipeno < 6
506 0 1 if (exists $changes{'EN_AA'})
508 0 0 if $changes{'EN_AA'}
510 0 1 if (exists $changes{'EN_RXADDR'})
512 0 0 if $changes{'EN_RXADDR'}
514 0 1 if (exists $changes{'DYNPD'})
516 0 0 if $changes{'DYNPD'}
518 1 0 if (exists $changes{'RX_PW'})
521 0 1 if (exists $changes{'RX_ADDR'})
523 0 0 if $pipeno >= 2
633 0 1 unless $len > 0 and $len <= 32
658 0 2 unless $len > 0 and $len <= 32
660 1 1 $opts{'no_ack'} ? :