Branch Coverage

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


line true false branch
32 0 0 if (-t STDOUT) { }
53 0 0 unless @_
56 0 0 unless ($metadata)
79 0 0 unless $self->ioloop->is_running
84 0 0 unless my $token = $self->token
86 0 0 if (my $error = &$TX_ERROR($tx))
95 0 0 unless ($ws->is_websocket)
109 0 0 if $self->auto_reconnect
116 0 0 if $self->ws
128 0 0 if (my $pinger = $self->pinger)
139 0 0 if (my $type = $event->{'type'}) { }
140 0 0 if ($type eq 'message' and defined(my $reply_to = $event->{'reply_to'}))
196 0 0 if (@_ and ref $_[-1] eq 'CODE') { }
205 0 0 if (my $error = &$TX_ERROR($tx))
212 0 0 if (ref $param->{$key} and not &Scalar::Util::blessed($param->{$key}))
217 0 0 unless exists $param->{'token'}