Branch Coverage

blib/lib/Audio/Radio/XM/PCR.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
213 0 0 if ($self->port_state eq 'Open')
237 0 0 /CHANNEL/ ? :
257 0 0 if ($count)
264 0 0 if ($count == $length) { }
285 0 0 if (ref $on_trigger_method ne '')
301 0 0 if ($is_windows) { }
308 0 0 unless (defined $port_handle)
345 0 0 if ($code eq '80') { }
0 0 elsif ($code eq '81') { }
371 0 0 if ($code eq 'e0') { }
0 0 elsif ($code eq 'e1') { }
386 0 0 if ($code eq '90') { }
0 0 elsif ($code eq 'a2') { }
0 0 elsif ($code eq 'a5') { }
394 0 0 if ($channel == 0)
418 0 0 if ($code eq '93') { }
419 0 0 if ($params[1]) { }
435 0 0 if ($code eq 'b1') { }
481 0 0 if ($sat_db[$x] < 12) { }
0 0 elsif ($sat_db[$x] < 16) { }
494 0 0 if ($terr_signal <= 0) { }
0 0 elsif ($terr_signal >= 100) { }
503 0 0 if ($$self{'signal_strength'}{'sat'}{'1'}{'db'} > $$self{'signal_strength'}{'sat'}{'2'}{'db'}) { }
518 0 0 if ($code eq 'd6') { }
541 0 0 if ($code eq 'd3') { }
603 0 0 if ($self->port_state eq 'Open') { }
606 0 0 if (defined $args{'device'}) { }
609 0 0 if ($is_windows) { }
628 0 0 unless (defined $$self{'_port_state'})
632 0 0 if defined $val
680 0 0 if ($channel != $current_channel)
688 0 0 if $channel == $current_channel
689 0 0 unless defined $$self{'channels'}{$channel}
690 0 0 if $$self{'channels'}{$channel}{'last_update'} == 0
710 0 0 if (not defined $command or $command eq 'on') { }
0 0 elsif ($command ne 'off' and $command ne 'sleep') { }
733 0 0 if (not defined $op or $op eq 'on') { }
0 0 elsif ($op eq 'off') { }
753 0 0 if (not defined $channel or $channel < 1 or $channel > 256)
777 0 0 if (defined $$self{'channels'}{$channel}) { }
792 0 0 if ($channel eq '')
797 0 0 if ($channel > 256 or $channel < 1)
802 0 0 if ($self->command('this_channel_info', $channel))
812 0 0 if ($channel > 256 or $channel < 1)
818 0 0 if ($self->command('next_channel_info', $channel))
825 0 0 if ($$self{'technical'}{'radio_id'} eq '')