Condition Coverage

blib/lib/BACnet/DataTypes/Utils.pm
Criterion Covered Total %
condition 33 44 75.0


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 $bool_in != 0 and $bool_in != 1
96 2 3 2 $bool_in != 0 and $bool_in != 1
152 103 34 3 defined $sign_wrap and (unpack("C", $encoded[-1]) & 128) == 128
184 0 6 4 defined $sign_wrap and (unpack("C", $encoded[-1]) & 128) == 0
469 8 22 25 _get_head_ac_class($data_in) == 1 and _get_head_lvt($data_in) == 6
30 0 25 _get_head_ac_class($data_in) == 1 and _get_head_lvt($data_in) == 6 and _is_lvt_extended($data_in) == 0
483 26 106 29 _get_head_ac_class($data_in) == 1 and _get_head_lvt($data_in) == 7
132 0 29 _get_head_ac_class($data_in) == 1 and _get_head_lvt($data_in) == 7 and _is_lvt_extended($data_in) == 0
583 8 490 0 $args{'lvt_is_length'} == 1 and not _current_length($data_in, _get_head_lvt($args{'data_in'}))
589 368 130 0 defined $expected_length and not _current_length($data_in, $expected_length)
601 86 0 412 _get_head_ac_class($data_in) == 0 and _get_head_tag($data_in) == $tag
607 0 0 86 _get_head_ac_class($data_in) == 1 and _get_head_tag($data_in) != -1

or 2 conditions

line l !l condition
642 42 482 $short_lvt //= 0

or 3 conditions

line l !l&&r !l&&!r condition
520 4 22 97 $bone->{'dt'} eq "BACnet::DataTypes::SequenceOfValues" or $bone->{'dt'} eq "BACnet::DataTypes::SequenceValue"
26 1 96 $bone->{'dt'} eq "BACnet::DataTypes::SequenceOfValues" or $bone->{'dt'} eq "BACnet::DataTypes::SequenceValue" or $bone->{'dt'} eq "BACnet::DataTypes::Choice"