Branch Coverage

blib/lib/BACnet/DataTypes/Choice.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
43 2 2 if (defined $modified_tag) { }
44 2 0 if (defined $modified_tag)
50 2 0 if (defined $modified_tag)
71 2 2 if (defined $wrapped and BACnet::DataTypes::Utils::_is_context_sequence($data_in))
76 0 2 if ($context_tag == -1)
84 0 4 if (not defined $skeleton) { }
93 4 5 if ($bone->{'tag'} == $tag)
100 0 4 unless (defined $self->{'val'})
106 0 4 if (defined $self->{'val'}{'error'})
115 2 2 if (defined $context_tag)
116 2 0 if (BACnet::DataTypes::Utils::_is_end_of_context_sequence(substr($data_in, $head_index)) and $context_tag == BACnet::DataTypes::Utils::_get_head_tag(substr($data_in, $head_index))) { }