| line |
true |
false |
branch |
|
97
|
0 |
0 |
if $$self{'_pgm'} |
|
99
|
0 |
0 |
if ($res eq 'OK') { } |
|
115
|
0 |
0 |
unless $$self{'_pgm'} |
|
117
|
0 |
0 |
if ($res eq 'OK') |
|
199
|
0 |
0 |
if ($value) |
|
217
|
0 |
0 |
if (ref $gdata eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $gdata eq 'HASH') { } |
|
222
|
0 |
0 |
unless defined $code |
|
231
|
0 |
0 |
if (exists $$gdata{$i}) |
|
235
|
0 |
0 |
unless defined $code |
|
253
|
0 |
0 |
$on{$_} ? : |
|
262
|
0 |
0 |
if ($index < 1 or $index > 300) |
|
268
|
0 |
0 |
unless $value |
|
270
|
0 |
0 |
if ($freq eq '00000000') |
|
300
|
0 |
0 |
if $start < 1 or $start > 300 |
|
301
|
0 |
0 |
if $stop < 1 or $stop > 300 |
|
302
|
0 |
0 |
if ($start > $stop) |
|
312
|
0 |
0 |
if ($state) { } |
|
314
|
0 |
0 |
if ($state eq $$info{'state'}) |
|
335
|
0 |
0 |
if ($bank < 1 or $bank > 10) |
|
343
|
0 |
0 |
if ($state) |
|
357
|
0 |
0 |
if ($index < 1 or $index > 300) |
|
364
|
0 |
0 |
unless defined $dly |
|
376
|
0 |
0 |
if ($index < 1 or $index > 300) |
|
390
|
0 |
0 |
if ($value) |
|
412
|
0 |
0 |
unless defined $dir |
|
413
|
0 |
0 |
unless defined $dir |
|
429
|
0 |
0 |
unless defined $value |
|
431
|
0 |
0 |
if ($value == -1 or $value eq 'OK') { } |
|
466
|
0 |
0 |
unless $val |
|
485
|
0 |
0 |
unless $ccBand{$i} |
|
486
|
0 |
0 |
substr($band_str, $i, 1) eq '1' ? : |
|
501
|
0 |
0 |
unless defined $mode |
|
502
|
0 |
0 |
unless defined $al_beep |
|
503
|
0 |
0 |
unless defined $al_light |
|
506
|
0 |
0 |
if ($data{'bands'} and ref $data{'bands'} eq 'ARRAY' and scalar @{$data{'bands'};}) |
|
512
|
0 |
0 |
if (defined $code) |
|
529
|
0 |
0 |
unless $band |
|
531
|
0 |
0 |
if ($index < 1 or $index > 10) |
|
537
|
0 |
0 |
unless $value |
|
558
|
0 |
0 |
unless $band |
|
560
|
0 |
0 |
if ($index < 1 or $index > 10) |
|
565
|
0 |
0 |
unless defined $delay |
|
566
|
0 |
0 |
unless defined $dir |
|
583
|
0 |
0 |
unless $value |
|
609
|
0 |
0 |
unless defined $delay |
|
610
|
0 |
0 |
unless defined $dir |
|
613
|
0 |
0 |
if (ref $gdata eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $gdata eq 'HASH') { } |
|
618
|
0 |
0 |
unless defined $code |
|
627
|
0 |
0 |
if (exists $$gdata{$i}) |
|
631
|
0 |
0 |
unless defined $code |
|
652
|
0 |
0 |
unless $idx |
|
653
|
0 |
0 |
if ($idx < 1 or $idx > 10) |
|
658
|
0 |
0 |
unless $value |
|
685
|
0 |
0 |
unless $idx |
|
686
|
0 |
0 |
if ($idx < 1 or $idx > 10) |
|
690
|
0 |
0 |
unless $left |
|
691
|
0 |
0 |
unless $right |
|
704
|
0 |
0 |
$val eq 'OK' ? : |
|
716
|
0 |
0 |
if ($args and ref $args eq 'ARRAY' and scalar @$args > 0) |
|
718
|
0 |
0 |
defined $_ ? : |
|
720
|
0 |
0 |
if ($self->_write($str)) |
|
723
|
0 |
0 |
unless ($resp) |
|
729
|
0 |
0 |
if ($first eq $cmdName) { } |
|
|
0 |
0 |
elsif ($first eq 'ERR') { } |
|
731
|
0 |
0 |
if (scalar @out and $out[0] eq 'ERR') |
|
735
|
0 |
0 |
if (scalar @out) |
|
766
|
0 |
0 |
if ($$self{'fatal'}) { } |
|
781
|
0 |
0 |
unless $$self{'echo'} |
|
792
|
0 |
0 |
if ($n) { } |
|
814
|
0 |
0 |
if ($count > 0) { } |
|
817
|
0 |
0 |
if ($buffer =~ /\015$/) |
|
828
|
0 |
0 |
if ($timeout == 0) { } |
|
848
|
0 |
0 |
if ($pgm and not $$self{'_pgm'}) |
|
854
|
0 |
0 |
if ($opts{'args'}) |
|
861
|
0 |
0 |
if ($$res{'status'} eq 'OK') { } |
|
863
|
0 |
0 |
if ($opts{'array'}) { } |
|
877
|
0 |
0 |
if $qp |
|
889
|
0 |
0 |
if ($pgm and not $$self{'_pgm'}) |
|
895
|
0 |
0 |
ref $value eq 'ARRAY' ? : |
|
896
|
0 |
0 |
if ($$res{'status'} eq 'OK') { } |
|
898
|
0 |
0 |
if ($$res{'data'} and $$res{'data'}[0] eq 'NG') { } |
|
911
|
0 |
0 |
if $qp |
|
922
|
0 |
0 |
unless defined $code |
|
923
|
0 |
0 |
if $$src{$code} |
|
933
|
0 |
0 |
if $name =~ /^\d+$/ |
|
938
|
0 |
0 |
if exists $reverse{$NAME} |
|
947
|
0 |
0 |
if length $f != 8 |
|
960
|
0 |
0 |
if ($value =~ /^(\d+)\.(\d+)$/) { } |
|
|
0 |
0 |
elsif ($value =~ /^\d+$/) { } |