blib/lib/Net/SIP/Endpoint.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 11 | 54.5 |
line | l | !l | condition |
---|---|---|---|
253 | 199 | 0 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
233 | 48 | 20 | 22 | delete $self->{'ctx'}{$id} || do { DEBUG(50, "no context for call-id $id found"); return } |
275 | 139 | 0 | 0 | $self->{'ctx'}{$callid} || do { DEBUG(50, "cannot find context for packet with callid=$callid. DROP"); return } |
303 | 0 | 0 | 21 | $method eq 'BYE' or $method eq 'CANCEL' |