| blib/lib/Bot/ChatBots/Messenger/WebHook.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 1 | 0 | if (not $self->no_routes) |
| 36 | 0 | 1 | @_ && ref $_[0] ? : |
| 45 | 1 | 2 | if ($hmode eq 'subscribe' and $hvt eq $self->verify_token) { } |
| 61 | 0 | 2 | unless my $update = $record->{'update'} |
| 80 | 0 | 1 | unless $data->{'object'} eq 'page' |
| 90 | 2 | 0 | if (exists $event->{'message'}) { } |