blib/lib/Net/SIP/Endpoint.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 11 | 54.5 |
line | l | !l | condition |
---|---|---|---|
253 | 193 | 0 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
233 | 46 | 20 | 20 | 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 | 19 | $method eq 'BYE' or $method eq 'CANCEL' |