Branch Coverage

blib/lib/Mojo/SlackRTM.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
30 0 0 if (-t STDOUT) { }
51 0 0 unless @_
54 0 0 unless ($metadata)
77 0 0 unless $self->ioloop->is_running
82 0 0 unless my $token = $self->token
84 0 0 if (my $error = &$TX_ERROR($tx))
93 0 0 unless ($ws->is_websocket)
107 0 0 if $self->auto_reconnect
114 0 0 if $self->ws
126 0 0 if (my $pinger = $self->pinger)
137 0 0 if (my $type = $event->{'type'}) { }
138 0 0 if ($type eq 'message' and defined(my $reply_to = $event->{'reply_to'}))
194 0 0 if (@_ and ref $_[-1] eq 'CODE') { }
203 0 0 if (my $error = &$TX_ERROR($tx))
207 0 0 unless exists $param->{'token'}