Condition Coverage

blib/lib/Geo/FIT.pm
Criterion Covered Total %
condition 7 66 10.6


and 3 conditions

line !l l&&!r l&&r condition
6946 0 0 0 &safe_isa($FH, "FileHandle") and $FH->opened
7116 0 0 0 $_ ne '\\' && 32 >= ord $_ && ord $_ <= 126
7122 0 0 3 $proto_ver >= $protocol_version_header_crc_started and length $extra >= $header_crc_length
7163 0 1 0 not $self->maybe_chained and $j > $self->file_size
7389 0 0 0 $val >= $typedesc->{'_min'} and $val != $invalid[$typedesc->{'_base_type'}]
7528 0 0 0 $T_id != 2 and $T_id != 13
7700 858 0 0 $endian != $my_endian and $size[$type] > 1
7743 4 5 27 ref $msgtype eq "HASH" and exists $msgtype->{'_name'}
7959 0 0 0 $drop_devdata and $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8018 0 0 0 defined $desc->{$i_name} and ($val = $$v[$desc->{$i_name}]) != $$desc{"I_" . $key}
8062 0 0 0 defined $scale and $scale > 0
8065 0 0 0 defined $scale and $scale > 0
8121 0 0 0 length $num >= length $unit and substr($num, -length($unit)) eq $unit
8311 0 0 0 $type == 6 and $tname eq "date_time"
0 0 0 $type == 6 and $tname eq "date_time" and $pname eq "timestamp"
8386 0 0 0 $type == 6 and $tname eq "date_time"
0 0 0 $type == 6 and $tname eq "date_time" and $pname eq "timestamp"
8520 3 0 0 &safe_isa($cp_fit_FH, "FileHandle") and $cp_fit_FH->opened

or 3 conditions

line l !l&&r !l&&!r condition
7577 0 0 0 $T_field_name != 7 or $c_field_name <= 0
7959 0 0 0 $desc->{'message_name'} eq 'developer_data_id' || $desc->{'message_name'} eq 'field_description'
8310 0 0 0 $j < $c or not $skip_invalid
8385 0 0 0 $j < $c or not $skip_invalid