blib/lib/Device/VantagePro.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 30 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
212 | 0 | 0 | 0 | $page == 1 and $rec < $rec_start |
562 | 0 | 0 | 0 | $offset < 0 and $hours == 0 |
line | l | !l | condition |
---|---|---|---|
43 | 0 | 0 | $arg_hsh{'port'} || '/dev/ttyS0' |
48 | 0 | 0 | 'Device::SerialPort'->new($port) || die("Can't open ${port}: $^E\n") |
50 | 0 | 0 | $arg_hsh{'baudrate'} || 19200 |
51 | 0 | 0 | $arg_hsh{'parity'} || 'none' |
52 | 0 | 0 | $arg_hsh{'databits'} || 8 |
53 | 0 | 0 | $arg_hsh{'stopbits'} || 1 |
305 | 0 | 0 | shift @_ || 1 |
695 | 0 | 0 | shift @_ || 255 |
696 | 0 | 0 | shift @_ || 2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 0 | 0 | 0 | $caller_is_obj || $caller |
73 | 0 | 0 | 0 | $port_obj->status || warn("could not get port status\n") |