Condition Coverage

blib/lib/Geo/FIT.pm
Criterion Covered Total %
condition 29 78 37.1


and 3 conditions

line !l l&&!r l&&r condition
7507 0 0 0 $_ ne '\\' && 32 >= ord $_ && ord $_ <= 126
7512 0 0 13 $proto_ver >= $protocol_version_header_crc_started and length $extra >= $header_crc_length
7555 0 8 0 not $self->maybe_chained and $j > $self->file_size
7600 0 0 1 ref $_[0] and ref $_[0] eq "CODE"
7637 13 0 0 ref $is_cb and ref $is_cb eq "CODE"
7638 0 0 0 ref $is_cb_argv && ref $is_cb_argv eq 'ARRAY'
7784 0 0 675 $val >= $typedesc->{'_min'} and $val != $invalid[$typedesc->{'_base_type'}]
7923 0 0 0 $T_id != 2 and $T_id != 13
8095 3410 0 0 $endian != $my_endian and $size[$type] > 1
8141 14 19 110 ref $msgtype eq "HASH" and exists $msgtype->{'_name'}
8366 0 0 0 $drop_devdata and $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8425 0 2 66 defined $desc->{$i_name} and ($val = $$v[$desc->{$i_name}]) != $$desc{'I_' . $key}
8459 2705 0 1956 defined $scale and $scale > 0
8462 1116 0 20 defined $scale and $scale > 0
8476 283 0 3242 defined $scale and $scale > 0
8513 0 0 10 defined $scale1 and $scale1 > 0
8518 0 30 0 length $num >= length $unit and substr($num, -length($unit)) eq $unit
8523 4 0 31 defined $scale and $scale > 0
8882 127 5 238 $type == 6 and $tname eq "date_time"
132 5 233 $type == 6 and $tname eq "date_time" and $pname eq "timestamp"
8958 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
7972 0 0 0 $T_field_name != 7 or $c_field_name <= 0
8366 0 0 0 $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8880 2746 620 0 $j < $c or not $skip_invalid
8957 0 0 0 $j < $c or not $skip_invalid