Condition Coverage

blib/lib/STUN/RFC_5389.pm
Criterion Covered Total %
condition 25 40 62.5


and 3 conditions

line !l l&&!r l&&r condition
442 0 0 2 length $attr_value == $length and my $type_name = $STUN::RFC_5389::attribute_registry{$type}
524 2 1 0 $message_length and not $attributes
1 2 0 not $message_length and $attributes
534 1 1 1 $message_type ne '0001' and $message_type ne '0011'
2 1 0 $message_type ne '0001' and $message_type ne '0011' and $message_type ne '0101'
2 0 0 $message_type ne '0001' and $message_type ne '0011' and $message_type ne '0101' and $message_type ne '0111'
541 1 1 1 $i_am_server and $message_type ne '0001'
2 1 0 $i_am_server and $message_type ne '0001' and $message_type ne '0011'
2 1 0 not $i_am_server and $message_type ne '0101'
3 0 0 not $i_am_server and $message_type ne '0101' and $message_type ne '0111'

or 2 conditions

line l !l condition
354 1 1 $a_len % 8 || 8
436 1 1 $length % 8 || 8

or 3 conditions

line l !l&&r !l&&!r condition
524 0 0 3 $message_length and not $attributes or not $message_length and $attributes
0 0 3 $message_length and not $attributes or not $message_length and $attributes or $message_length != length($attributes) / 2