Branch Coverage

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


line true false branch
203 0 0 if ($response->code == 200) { }
205 0 0 if ($@)
208 0 0 unless (exists $data->{'url'} and $data->{'self'})
209 0 0 exists $data->{'error'} ? :
249 0 0 if ($self->connection) { }
297 0 0 unless defined $endpoint
304 0 0 unless exists $msg->{'token'}
305 0 0 unless exists $msg->{'scope'}
309 0 0 if ($type eq 'FORM') { }
319 0 0 if ($response->code != 200) { }
323 0 0 if ($@) { }
327 0 0 unless $json->{'ok'}
331 0 0 if ($self->stats->{'running_posts'} == 0)
339 0 0 if $self->we_sent_msg($ref)
356 0 0 if (exists $ref->{'msg'}) { }
0 0 elsif (exists $ref->{'reply_to'}) { }
358 0 0 if (defined $sent)
389 0 0 if ($@)
401 0 0 if (time < $max_timeout) { }
402 0 0 if (time > $self->stats->{'last_msg_on'} + $self->keep_alive_timeout)
426 0 0 if ($message->is_text)
428 0 0 if ($@)
432 0 0 if (exists $ref->{'type'} and $ref->{'type'} eq 'pong') { }
435 0 0 if ($self->stats->{'running_posts'} != 0) { }
441 0 0 if $self->we_sent_msg($ref, $data)
462 0 0 if $self->connection
464 0 0 if ($self->auto_reconnect)
466 0 0 if ($result) { }