Condition Coverage

blib/lib/Net/SIP/Packet.pm
Criterion Covered Total %
condition 21 34 61.7


and 2 conditions

line l !l condition
159 0 0 $self->{'method'} && 1

and 3 conditions

line !l l&&!r l&&r condition
46 0 398 9 @_ and not ref $_[0]
382 0 72 626 $key and $h->{'key'} ne $key
404 328 0 0 defined $cl and $cl != length $body
423 0 0 0 defined $line && $line == $i
675 216 1379 0 @header and $header[0] =~ /^\s+(.*)/
721 18 48 0 $ct and lc $ct ne 'application/sdp'

or 2 conditions

line l !l condition
402 119 209 $self->{'body'} || ''
634 68 320 pos $v || 0
697 1146 5 ($check_once{$nk} //= $_) eq $_ or die "conflicting definition of $nk\n"
722 48 18 ($self->as_parts)[3] || (return)

or 3 conditions

line l !l&&r !l&&!r condition
697 5 987 159 $check_once{$nk} //= $_
839 0 11070 0 $alias{$key} || $key