Condition Coverage

blib/lib/Device/XBee/API.pm
Criterion Covered Total %
condition 0 63 0.0


and 3 conditions

line !l l&&!r l&&r condition
220 0 0 0 $$options{'alloc_frame_id_func'} and $$options{'free_frame_id_func'}
229 0 0 0 ref $$self{'fh'} ne 'Device::SerialPort' and ref $$self{'fh'} ne 'Win32::SerialPort'
294 0 0 0 $timeout < 1 and $to_read > 0
464 0 0 0 not $dont_free_id and $$r{'frame_id'}
572 0 0 0 not defined $tx and defined $data
579 0 0 0 $$tx{'sh'} and not $$tx{'sl'}
0 0 0 not $$tx{'sh'} and $$tx{'sl'}
676 0 0 0 not defined $tx and defined $data
683 0 0 0 $$tx{'sh'} and not $$tx{'sl'}
0 0 0 not $$tx{'sh'} and $$tx{'sl'}
789 0 0 0 $$r{'frame_id'} and $$r{'frame_id'} == $frame_id
867 0 0 0 $$node{$k} and !$$sknsn{$k} || $$sknsn{$k} ne $$node{$k}

or 2 conditions

line l !l condition
215 0 0 $$options{'packet_timeout'} || 20
216 0 0 $$options{'node_forget_time'} || 3600
232 0 0 'IO::Select'->new($$self{'fh'}) || die('Failed to initialize IO::Select!')

or 3 conditions

line l !l&&r !l&&!r condition
571 0 0 0 $tx or $data
579 0 0 0 $$tx{'sh'} and not $$tx{'sl'} or not $$tx{'sh'} and $$tx{'sl'}
675 0 0 0 $tx or $data
683 0 0 0 $$tx{'sh'} and not $$tx{'sl'} or not $$tx{'sh'} and $$tx{'sl'}
867 0 0 0 !$$sknsn{$k} || $$sknsn{$k} ne $$node{$k}
873 0 0 0 $$node{'na'} || $$node{'my'}
876 0 0 0 $$node{'na'} || $$node{'my'}