Condition Coverage

blib/lib/EMDIS/ECS/FileBackedMessage.pm
Criterion Covered Total %
condition 6 48 12.5


and 3 conditions

line !l l&&!r l&&r condition
64 0 27 2 defined $filename and $filename =~ /(\.doc|\.doc\.xml)$/io
221 4 0 6 exists $this->{'part_num'} and exists $this->{'num_parts'}
0 5 1 exists $this->{'part_num'} and exists $this->{'num_parts'} and $this->{'part_num'} > $this->{'num_parts'}
505 0 0 0 defined $this->{'num_parts'} and $this->{'num_parts'} > 1
517 0 0 0 defined $rcv_node_id and $rcv_node_id
542 0 0 0 $is_re_send and not $this->{'is_document'}
0 0 0 $is_re_send and $this->{'is_document'}
598 0 0 0 defined $node->{'msg_part_size'} and $node->{'msg_part_size'} > 0
622 0 0 0 $this->{'is_meta_message'} and $num_parts > 1
628 0 0 0 defined $part_num and $part_num
0 0 0 defined $part_num and $part_num and $part_num > $num_parts
751 0 0 0 $this->{'is_meta_message'} and not $node->{'encr_meta'} =~ /true/io
766 0 0 0 is_yes($cfg->ENABLE_AMQP) and exists $node->{'amqp_addr_meta'}
0 0 0 is_yes($cfg->ENABLE_AMQP) and exists $node->{'amqp_addr_meta'} and $node->{'amqp_addr_meta'}
828 0 0 0 $part_num < $num_parts and $bytecount != $msg_part_size

or 3 conditions

line l !l&&r !l&&!r condition
157 0 0 0 $bytecount == 0 or $data_offset >= 1048576