| blib/lib/SignalWire/Agents/Relay/Action.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 30 | 40.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 3 | 0 | if ($cb) |
| 27 | 1 | 2 | if ($self->completed) |
| 29 | 0 | 1 | if $@ |
| 59 | 0 | 0 | $event->can('state') ? : |
| 60 | 0 | 0 | if $state |
| 66 | 1 | 6 | if $self->completed |
| 70 | 2 | 4 | if (my $cb = $self->_on_completed) |
| 72 | 0 | 2 | if $@ |
| 80 | 0 | 0 | unless $client |
| 91 | 0 | 0 | if $self->completed |
| 118 | 0 | 0 | unless $client |
| 137 | 0 | 0 | unless $client |
| 143 | 0 | 0 | if $opts{'behavior'} |
| 184 | 1 | 0 | if ($event->event_type eq "calling.call.play") |
| 200 | 1 | 1 | $self->_fax_type eq 'receive' ? : |