Branch Coverage

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


line true false branch
276 12 12 defined $_registers[$regnum] ? :
285 0 2 unless $len == length $data
299 10 2 if defined $_registers[$regnum] and $_registers[$regnum] eq $data
395 0 1 if $_ == 250000
396 0 1 if $_ == 1000000
397 1 0 if $_ == 2000000
464 0 1 unless $pipeno >= 0 and $pipeno < 6
478 0 1 if $pipeno >= 2
491 0 1 unless $pipeno >= 0 and $pipeno < 6
505 0 1 if (exists $changes{'EN_AA'})
507 0 0 if $changes{'EN_AA'}
509 0 1 if (exists $changes{'EN_RXADDR'})
511 0 0 if $changes{'EN_RXADDR'}
513 0 1 if (exists $changes{'DYNPD'})
515 0 0 if $changes{'DYNPD'}
517 1 0 if (exists $changes{'RX_PW'})
520 0 1 if (exists $changes{'RX_ADDR'})
522 0 0 if $pipeno >= 2
632 0 1 unless $len > 0 and $len <= 32
657 0 2 unless $len > 0 and $len <= 32
659 1 1 $opts{'no_ack'} ? :