Branch Coverage

blib/lib/Device/VantagePro.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
40 0 0 if (ref $_[0] eq 'HASH') { }
67 0 0 unless $port_obj->write_settings
71 0 0 unless ($port_obj)
76 0 0 if ($BlockingFlags)
104 0 0 unless ($cnt_out)
107 0 0 if ($str eq "\n\r")
109 0 0 if $Verbose
133 0 0 unless ($cnt_out)
151 0 0 unless ($vDateStamp)
152 0 0 unless ($vTimeStamp)
173 0 0 unless ($cnt_out)
177 0 0 unless ($ack == 6)
180 0 0 unless ($cnt_out)
204 0 0 if $Verbose
212 0 0 if ($page == 1 and $rec < $rec_start)
222 0 0 if ($date_curr < $date_prev)
274 0 0 if $Verbose
295 0 0 unless ($self->start_loop(1))
313 0 0 if (ord $str != 6)
324 0 0 if ($cnt_in != 99)
339 0 0 unless ($loo eq 'LOO')
409 0 0 if (uc $item eq 'ARCHIVE_PERIOD') { }
0 0 elsif (uc $item eq 'TIME_ZONE') { }
0 0 elsif (uc $item eq 'MANUAL_OR_AUTO') { }
0 0 elsif (uc $item eq 'DAYLIGHT_SAVINGS') { }
0 0 elsif (uc $item eq 'GMT_OFFSET') { }
0 0 elsif (uc $item eq 'GMT_OR_ZONE') { }
0 0 elsif (uc $item eq 'SETUP_BITS') { }
421 0 0 unless ($cnt_out)
431 0 0 if ($rsp_lst[0] ne 'OK')
445 0 0 unless ($cnt_out)
450 0 0 if ($ck)
469 0 0 unless ($cnt_out)
473 0 0 if ($ack != 6)
483 0 0 unless ($cnt_out)
486 0 0 if (ord $str != 6)
499 0 0 unless (grep {$_ == $period;} 1, 5, 10, 15, 30, 60, 120)
508 0 0 unless ($cnt_out)
514 0 0 unless ($ack != 6)
543 0 0 if (hex $self->get_eeprom('gmt_or_zone')->[0]) { }
548 0 0 if (hex $self->get_eeprom('manual_or_auto')->[0])
555 0 0 if $offset > 32767
562 0 0 if $offset < 0 and $hours == 0
711 0 0 if ($@)