Branch Coverage

blib/lib/WebService/Mattermost/V4/Client.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
59 0 60 if ($self->can($emission))
71 2 0 unless $self->ioloop->is_running
95 0 0 unless ($tx->is_websocket)
118 0 0 if ($self->debug)
133 0 1 if ($self->debug)
169 0 0 unless $input
173 0 0 if ($message->{'seq'})
174 0 0 if $self->debug
178 0 0 unless $message and $message->{'event'}
182 0 0 if ($message->{'data'}{'post'})
187 0 0 if $self->ignore_self and $post_data->{'user_id'} eq $self->user_id
194 0 0 if ($message->{'event'} eq "hello")
195 0 0 if ($self->debug)
213 0 0 if ($self->debug and $message->{'data'} and $message->{'data'}{'text'})
288 3 0 unless ($ws_url =~ m[/$])