blib/lib/Net/SIP/Packet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 34 | 61.7 |
line | l | !l | condition |
---|---|---|---|
159 | 0 | 0 | $self->{'method'} && 1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 0 | 383 | 9 | @_ and not ref $_[0] |
382 | 0 | 67 | 582 | $key and $h->{'key'} ne $key |
404 | 316 | 0 | 0 | defined $cl and $cl != length $body |
423 | 0 | 0 | 0 | defined $line && $line == $i |
675 | 211 | 1336 | 0 | @header and $header[0] =~ /^\s+(.*)/ |
721 | 16 | 44 | 0 | $ct and lc $ct ne 'application/sdp' |
line | l | !l | condition |
---|---|---|---|
402 | 112 | 204 | $self->{'body'} || '' |
634 | 64 | 307 | pos $v || 0 |
697 | 1117 | 5 | ($check_once{$nk} //= $_) eq $_ or die "conflicting definition of $nk\n" |
722 | 44 | 16 | ($self->as_parts)[3] || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
697 | 5 | 959 | 158 | $check_once{$nk} //= $_ |
839 | 0 | 10661 | 0 | $alias{$key} || $key |