Condition Coverage

blib/lib/GPS/Garmin.pm
Criterion Covered Total %
condition 2 32 6.2


and 3 conditions

line !l l&&!r l&&r condition
297 0 0 0 @result and $result[0] == 21
359 0 0 0 defined $buf and $buf == 16
379 0 0 0 not $gcommand =~ /^(?:Wpt|Trk|Rte)_(?:data|hdr)$/ and $data[0] == 6
385 0 0 0 not $gcommand =~ /^(?:Wpt|Trk|Rte)_(?:data|hdr)$/ and $data[0] == 21

or 2 conditions

line l !l condition
24 1 2 $param{'Protocol'} ||= 'GRMN'

or 3 conditions

line l !l&&r !l&&!r condition
85 0 0 0 $self->{'pidbytes'}[$b] || sprintf('0x%.2x', $b)
167 0 0 0 $self->{'product_id'} == 154 or $self->{'product_id'} == 169
0 0 0 $self->{'product_id'} == 154 or $self->{'product_id'} == 169 or $self->{'product_id'} == 315
0 0 0 $self->{'product_id'} == 154 or $self->{'product_id'} == 169 or $self->{'product_id'} == 315 or $self->{'product_id'} == 111
0 0 0 $self->{'product_id'} == 154 or $self->{'product_id'} == 169 or $self->{'product_id'} == 315 or $self->{'product_id'} == 111 or $self->{'product_id'} == 248
0 0 0 $self->{'product_id'} == 154 or $self->{'product_id'} == 169 or $self->{'product_id'} == 315 or $self->{'product_id'} == 111 or $self->{'product_id'} == 248 or $self->{'product_id'} == 292