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