blib/lib/Bot/ChatBots/Messenger/Sender.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
38 | 0 | 4 | unless defined $message |
40 | 0 | 4 | @_ && ref $_[0] ? : |
43 | 3 | 1 | unless ref $message |
44 | 3 | 1 | unless (exists $message->{'recipient'}) |
45 | 1 | 2 | if (defined $args{'record'}) { } |
1 | 1 | elsif ($self->has_recipient) { } | |
63 | 0 | 3 | $args{'callback'} ? : |