blib/lib/Audio/Radio/XM/PCR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 32 | 3.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
710 | 0 | 0 | 0 | $command ne 'off' and $command ne 'sleep' |
line | l | !l | condition |
---|---|---|---|
225 | 0 | 0 | shift() || 50 |
302 | 0 | 0 | 'Win32::SerialPort'->new("$$self{'_device'}") || die("Can't open Serial Port! ($$self{'_device'} $!\n") |
305 | 0 | 0 | 'Device::SerialPort'->new("$$self{'_device'}") || die("Can't open USB Port! ($$self{'_device'} $!\n") |
332 | 0 | 0 | shift() || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
181 | 0 | 1 | 0 | ref $class || $class |
710 | 0 | 0 | 0 | not defined $command or $command eq 'on' |
733 | 0 | 0 | 0 | not defined $op or $op eq 'on' |
753 | 0 | 0 | 0 | not defined $channel or $channel < 1 |
0 | 0 | 0 | not defined $channel or $channel < 1 or $channel > 256 | |
797 | 0 | 0 | 0 | $channel > 256 or $channel < 1 |
812 | 0 | 0 | 0 | $channel > 256 or $channel < 1 |