Condition Coverage

blib/lib/GPS/Garmin.pm
Criterion Covered Total %
condition 2 35 5.7


and 3 conditions

line !l l&&!r l&&r condition
298 0 0 0 @result and $result[0] == 21
360 0 0 0 defined $buf and $buf == 16
380 0 0 0 not $gcommand =~ /^(?:Wpt|Trk|Rte)_(?:data|hdr)$/ and $data[0] == 6
386 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
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 or $$self{'product_id'} == 295