Condition Coverage

blib/lib/Geo/FIT.pm
Criterion Covered Total %
condition 20 78 25.6


and 3 conditions

line !l l&&!r l&&r condition
7104 0 0 0 $_ ne '\\' && 32 >= ord $_ && ord $_ <= 126
7109 0 0 7 $proto_ver >= $protocol_version_header_crc_started and length $extra >= $header_crc_length
7152 0 2 0 not $self->maybe_chained and $j > $self->file_size
7197 0 0 1 ref $_[0] and ref $_[0] eq "CODE"
7234 5 0 0 ref $is_cb and ref $is_cb eq "CODE"
7235 0 0 0 ref $is_cb_argv && ref $is_cb_argv eq 'ARRAY'
7381 0 0 6 $val >= $typedesc->{'_min'} and $val != $invalid[$typedesc->{'_base_type'}]
7520 0 0 0 $T_id != 2 and $T_id != 13
7692 1730 0 0 $endian != $my_endian and $size[$type] > 1
7738 8 10 56 ref $msgtype eq "HASH" and exists $msgtype->{'_name'}
7963 0 0 0 $drop_devdata and $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8022 0 0 29 defined $desc->{$i_name} and ($val = $$v[$desc->{$i_name}]) != $$desc{"I_" . $key}
8056 60 0 29 defined $scale and $scale > 0
8059 24 0 7 defined $scale and $scale > 0
8073 22 0 36 defined $scale and $scale > 0
8110 0 0 10 defined $scale1 and $scale1 > 0
8115 0 30 0 length $num >= length $unit and substr($num, -length($unit)) eq $unit
8120 4 0 31 defined $scale and $scale > 0
8474 0 0 0 $type == 6 and $tname eq "date_time"
0 0 0 $type == 6 and $tname eq "date_time" and $pname eq "timestamp"
8550 0 0 0 $type == 6 and $tname eq "date_time"
0 0 0 $type == 6 and $tname eq "date_time" and $pname eq "timestamp"

or 3 conditions

line l !l&&r !l&&!r condition
7569 0 0 0 $T_field_name != 7 or $c_field_name <= 0
7963 0 0 0 $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8472 0 0 0 $j < $c or not $skip_invalid
8549 0 0 0 $j < $c or not $skip_invalid