Branch Coverage

blib/lib/AnyEvent/SlackBot.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
209 0 0 if ($response->code == 200) { }
211 0 0 if ($@)
214 0 0 unless (exists $data->{'url'} and $data->{'self'})
215 0 0 exists $data->{'error'} ? :
255 0 0 if ($self->connection) { }
303 0 0 unless defined $endpoint
310 0 0 unless exists $msg->{'token'}
311 0 0 unless exists $msg->{'scope'}
315 0 0 if ($type eq 'FORM') { }
325 0 0 if ($response->code != 200) { }
329 0 0 if ($@) { }
333 0 0 unless $json->{'ok'}
337 0 0 if ($self->stats->{'running_posts'} == 0)
345 0 0 if $self->we_sent_msg($ref)
362 0 0 if (exists $ref->{'msg'}) { }
0 0 elsif (exists $ref->{'reply_to'}) { }
364 0 0 if (defined $sent)
395 0 0 if ($@)
407 0 0 if (time < $max_timeout) { }
408 0 0 if (time > $self->stats->{'last_msg_on'} + $self->keep_alive_timeout)
432 0 0 if ($message->is_text)
434 0 0 if ($@)
438 0 0 if (exists $ref->{'type'} and $ref->{'type'} eq 'pong') { }
441 0 0 if ($self->stats->{'running_posts'} != 0) { }
447 0 0 if $self->we_sent_msg($ref, $data)
468 0 0 if $self->connection
470 0 0 if ($self->auto_reconnect)
472 0 0 if ($result) { }