| 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 | 398 | 9 | @_ and not ref $_[0] |
| 382 | 0 | 73 | 632 | $key and $h->{'key'} ne $key |
| 404 | 330 | 0 | 0 | defined $cl and $cl != length $body |
| 423 | 0 | 0 | 0 | defined $line && $line == $i |
| 675 | 216 | 1381 | 0 | @header and $header[0] =~ /^\s+(.*)/ |
| 721 | 18 | 48 | 0 | $ct and lc $ct ne 'application/sdp' |
| line | l | !l | condition |
|---|---|---|---|
| 402 | 120 | 210 | $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) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 697 | 5 | 987 | 159 | $check_once{$nk} //= $_ |
| 839 | 0 | 11089 | 0 | $alias{$key} || $key |